fix: delay first setOption until initial resize, update deps

This commit is contained in:
Justineo
2021-06-10 01:14:15 +08:00
parent 87d9f843ac
commit a77ecc726d
19 changed files with 5230 additions and 6284 deletions

View File

@ -6,14 +6,13 @@ module.exports = {
css: {
loaderOptions: {
postcss: {
plugins: [nested()]
postcssOptions: {
plugins: [nested()]
}
}
}
},
chainWebpack: config => {
config
.entry("app")
.clear()
.add("./src/demo/main.ts");
config.entry("app").clear().add("./src/demo/main.ts");
}
};