webpack-shell-plugin icon indicating copy to clipboard operation
webpack-shell-plugin copied to clipboard

[webpack-cli] TypeError: compiler.plugin is not a function

Open zeperto opened this issue 3 years ago • 1 comments

[webpack-cli] TypeError: compiler.plugin is not a function at WebpackShellPlugin.apply (E:\xampp\htdocs\transTest\node_modules\webpack-shell-plugin\lib\index.js:236:16) at createCompiler (E:\xampp\htdocs\transTest\node_modules\webpack\lib\webpack.js:73:12) at create (E:\xampp\htdocs\transTest\node_modules\webpack\lib\webpack.js:134:16) at webpack (E:\xampp\htdocs\transTest\node_modules\webpack\lib\webpack.js:142:47) at WebpackCLI.f [as webpack] (E:\xampp\htdocs\transTest\node_modules\webpack\lib\index.js:58:16) at WebpackCLI.createCompiler (E:\xampp\htdocs\transTest\node_modules\webpack-cli\lib\webpack-cli.js:2191:23) at async WebpackCLI.runWebpack (E:\xampp\htdocs\transTest\node_modules\webpack-cli\lib\webpack-cli.js:2321:16) at async Command. (E:\xampp\htdocs\transTest\node_modules\webpack-cli\lib\webpack-cli.js:1058:13) at async Promise.all (index 1) at async Command. (E:\xampp\htdocs\transTest\node_modules\webpack-cli\lib\webpack-cli.js:1672:7)

zeperto avatar Jan 24 '22 06:01 zeperto

See #73 for the solution

j3soon avatar Mar 08 '22 03:03 j3soon