We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c21f6 commit 974e56aCopy full SHA for 974e56a
package.json
@@ -80,7 +80,11 @@
80
"**/*.scss"
81
],
82
"optimization": {
83
- "usedExports": true
+ "usedExports": true,
84
+ "sideEffects": [
85
+ "**/*.css",
86
+ "**/*.scss"
87
+ ]
88
},
89
"scripts": {
90
"start": "node scripts/start.js",
rollup.config.ts
@@ -8,10 +8,10 @@ import pkg from "./package.json";
8
export default {
9
input: "src/lib/index.ts",
10
output: [
11
- // {
12
- // file: pkg.main,
13
- // format: "cjs",
14
- // },
+ {
+ file: pkg.main,
+ format: "cjs",
+ },
15
{
16
file: pkg.module,
17
format: "es",
0 commit comments