diff --git a/packages/element-plus/package.json b/packages/element-plus/package.json index 2c294a79a7..43bbef86ae 100644 --- a/packages/element-plus/package.json +++ b/packages/element-plus/package.json @@ -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"