mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
refactor(perf-loader): remove unused reference
This commit is contained in:
parent
0dd35fb047
commit
c319a8c3d2
@ -425,7 +425,7 @@ export default class Builder {
|
||||
}
|
||||
|
||||
async webpackBuild() {
|
||||
this.perfLoader = new PerfLoader(this)
|
||||
this.perfLoader = new PerfLoader(this.options)
|
||||
|
||||
const compilersOptions = []
|
||||
|
||||
|
@ -6,9 +6,8 @@ import threadLoader from 'thread-loader'
|
||||
// https://github.com/webpack-contrib/cache-loader
|
||||
|
||||
export default class PerfLoader {
|
||||
constructor(builder) {
|
||||
this.builder = builder
|
||||
this.options = builder.options
|
||||
constructor(options) {
|
||||
this.options = options
|
||||
|
||||
this.workerPools = {
|
||||
js: {
|
||||
|
Loading…
Reference in New Issue
Block a user