mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-27 11:56:35 +08:00
[Improvement] add sideEffects config for webpack 4 (#926)
This commit is contained in:
parent
b48ee8eece
commit
ba33733bd1
@ -12,6 +12,10 @@
|
|||||||
"packages",
|
"packages",
|
||||||
"types"
|
"types"
|
||||||
],
|
],
|
||||||
|
"sideEffects": [
|
||||||
|
"es/**/style/*",
|
||||||
|
"lib/**/style/*"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "yarn || npm i && cd ./packages/vant-css/ && yarn || npm i && cd ../../",
|
"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",
|
"dev": "npm run build:file && webpack-dev-server --inline --config build/webpack.config.dev.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user