Skip to content

Commit 1dcd51f

Browse files
committed
Update sideEffects property for webpack 4
1 parent e25d4ee commit 1dcd51f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"main": "dist/umd/index.js",
66
"module": "dist/esm/index.js",
77
"source": "src/index.js",
8-
"sideEffects": false,
8+
"sideEffects": [
9+
"*.css"
10+
],
911
"scripts": {
1012
"build": "yarn build-js-all && yarn copy-styles && yarn build-styles",
1113
"build-js-all": "yarn build-js-esm && yarn build-js-umd",

0 commit comments

Comments
 (0)