-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I am unable to generate a WAR file with this plugin after upgrading to Webpack 5. The specific error I get is:
Generating minified bundle. This will take a moment...
Error: TypeError: compiler.plugin is not a function
at WebpackWarPlugin.apply (C:\UnitySuiteFrontEnd\node_modules\webpack-war-plugin\src\WebpackWarPlugin.ts:38:14)
at createCompiler (C:\UnitySuiteFrontEnd\node_modules\webpack\lib\webpack.js:73:12)
at create (C:\UnitySuiteFrontEnd\node_modules\webpack\lib\webpack.js:134:16)
at webpack (C:\UnitySuiteFrontEnd\node_modules\webpack\lib\webpack.js:142:47)
at f (C:\UnitySuiteFrontEnd\node_modules\webpack\lib\index.js:63:16)
at Object.<anonymous> (C:\UnitySuiteFrontEnd\tools\/build.js:12:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Module._compile (C:\UnitySuiteFrontEnd\node_modules\pirates\lib\index.js:136:24)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
Webpack 5 does not support compiler.plugin for any function. Is there any way that this package could be updated?
Metadata
Metadata
Assignees
Labels
No labels