feat: 编译加速
使用前 npm run dev 需要22629ms, 使用后11678ms
This commit is contained in:
@@ -22,6 +22,7 @@ module.exports = {
|
||||
assetsDir: 'static',
|
||||
lintOnSave: process.env.NODE_ENV !== 'production',
|
||||
productionSourceMap: false,
|
||||
parallel: require('os').cpus().length > 1,
|
||||
devServer: {
|
||||
port: port,
|
||||
open: true,
|
||||
|
||||
Reference in New Issue
Block a user