Skip to content

Commit 974e56a

Browse files
author
Scott Watkins
committed
test optimization
1 parent 61c21f6 commit 974e56a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,11 @@
8080
"**/*.scss"
8181
],
8282
"optimization": {
83-
"usedExports": true
83+
"usedExports": true,
84+
"sideEffects": [
85+
"**/*.css",
86+
"**/*.scss"
87+
]
8488
},
8589
"scripts": {
8690
"start": "node scripts/start.js",

rollup.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import pkg from "./package.json";
88
export default {
99
input: "src/lib/index.ts",
1010
output: [
11-
// {
12-
// file: pkg.main,
13-
// format: "cjs",
14-
// },
11+
{
12+
file: pkg.main,
13+
format: "cjs",
14+
},
1515
{
1616
file: pkg.module,
1717
format: "es",

0 commit comments

Comments
 (0)