1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-26 19:36:36 +08:00

[Improvement] add sideEffects config for webpack 4 ()

This commit is contained in:
neverland 2018-04-24 17:01:14 +08:00 committed by GitHub
parent b48ee8eece
commit ba33733bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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",