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