Skip to content

Commit 03b3962

Browse files
authored
feat(build): added a sideEffects property for tree shaking package (#522)
1 parent 9e54ad2 commit 03b3962

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,5 +313,13 @@
313313
"prettier --write"
314314
],
315315
"*.{md,json,yaml,yml}": "prettier --write"
316-
}
316+
},
317+
"sideEffects": [
318+
"*.css",
319+
"*.scss",
320+
"src/shortcuts/index.ts",
321+
"src/shortcuts/default.ts",
322+
"build/**/shortcuts/index.js",
323+
"build/**/shortcuts/default.js"
324+
]
317325
}

0 commit comments

Comments
 (0)