fix(build): marking side effects for webpack importing styles

- Marking file under `dist` and `theme-chalk/*.css` `theme-chalk/*.scss`
This commit is contained in:
JeremyWuuuuu 2021-08-26 20:47:18 +08:00 committed by hangzou
parent 7b79aae8ff
commit eebc688669

View File

@ -10,7 +10,11 @@
"style": "dist/index.css",
"unpkg": "dist/index.full.js",
"jsdevlivr": "dist/index.full.js",
"sideEffects": false,
"sideEffects": [
"dist/*",
"theme-chalk/*.css",
"theme-chalk/src/*.scss"
],
"repository": {
"type": "git",
"url": "git+https://github.com/element-plus/element-plus.git"