mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
refactor: PerfLoader has been filterd by parallel build enabled
This commit is contained in:
parent
7c9c4a5017
commit
c4ff71438c
@ -24,10 +24,6 @@ export default class PerfLoader {
|
||||
}
|
||||
|
||||
warmup() {
|
||||
if (!this.options.build.parallel) {
|
||||
return
|
||||
}
|
||||
|
||||
threadLoader.warmup(this.workerPools.js, ['babel-loader', 'babel-preset-env'])
|
||||
threadLoader.warmup(this.workerPools.css, ['css-loader'])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user