lint: remove unused (#30370)

This commit is contained in:
Jiachi Liu 2021-10-26 23:02:51 +02:00 committed by GitHub
parent bc0b50d60d
commit 8077f4213d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,12 +56,12 @@ export class FlightManifestPlugin {
// @ts-ignore TODO: Remove ignore when webpack 5 is stable
stage: webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONS,
},
(assets: any) => this.createAsset(assets, compilation, compiler)
(assets: any) => this.createAsset(assets, compilation)
)
})
}
createAsset(assets: any, compilation: any, compiler: any) {
createAsset(assets: any, compilation: any) {
const json: any = {}
const { clientComponentsRegex } = this
compilation.chunkGroups.forEach((chunkGroup: any) => {