Skip to content

Commit

Permalink
fix(h5): fix side effects
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Dec 30, 2022
1 parent f762805 commit 4558347
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/taro-h5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"types",
"index.js"
],
"sideEffects": false,
"sideEffects": [
"*.scss",
"*.css"
],
"scripts": {
"assets": "cpy 'src/**/*.css' dist",
"build": "rimraf ./dist && tsc && pnpm run assets && rollup -c",
Expand Down

0 comments on commit 4558347

Please sign in to comment.