Skip to content

Commit

Permalink
fix(components): 在sideEffects中标记样式文件
Browse files Browse the repository at this point in the history
  • Loading branch information
Littly committed Jan 30, 2019
1 parent 0409ca0 commit 1bf341c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/taro-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"utils",
"types"
],
"sideEffects": false,
"sideEffects": [
"*.scss",
"*.css"
],
"scripts": {
"local-dev": "webpack-dev-server --config webpack.config.js --env development",
"dev": "webpack --config webpack.prod.config.js --watch",
Expand Down

0 comments on commit 1bf341c

Please sign in to comment.