mirror of
https://github.com/youzan/vant.git
synced 2026-01-31 01:01:30 +08:00
[Improvement] add sideEffects config for webpack 4 (#926)
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
"packages",
|
||||
"types"
|
||||
],
|
||||
"sideEffects": [
|
||||
"es/**/style/*",
|
||||
"lib/**/style/*"
|
||||
],
|
||||
"scripts": {
|
||||
"bootstrap": "yarn || npm i && cd ./packages/vant-css/ && yarn || npm i && cd ../../",
|
||||
"dev": "npm run build:file && webpack-dev-server --inline --config build/webpack.config.dev.js",
|
||||
|
||||
Reference in New Issue
Block a user