diff --git a/packages/generators/init-generator.ts b/packages/generators/init-generator.ts index dbaa16c6058..9d5b33f0b51 100644 --- a/packages/generators/init-generator.ts +++ b/packages/generators/init-generator.ts @@ -227,7 +227,7 @@ export default class InitGenerator extends Generator { } if(!this.isProd) { this.dependencies.push("html-webpack-plugin"); - const htmlWebpackDependency: string = "html-webpack-plugin"; + const htmlWebpackDependency = "html-webpack-plugin"; const htmlwebpackPlugin = generatePluginName(htmlWebpackDependency); (this.configuration.config.topScope as string[]).push( `const ${htmlwebpackPlugin} = require('${htmlWebpackDependency}')`,