Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack 5 support #1

Open
kbrownlees opened this issue Nov 1, 2020 · 0 comments
Open

Webpack 5 support #1

kbrownlees opened this issue Nov 1, 2020 · 0 comments

Comments

@kbrownlees
Copy link

Looks like a change in webpack 5 may of broken this plugin?

[webpack-cli] TypeError: compiler.apply is not a function
    at cdvAssets.files.forEach (/Users/kieran/work/cloudscape/cloudscape/packages/foreman.safesite-mobile/node_modules/corber-webpack-plugin/index.js:27:16)
    at Array.forEach (<anonymous>)
    at CorberWebpackPlugin.apply (/Users/kieran/work/cloudscape/cloudscape/packages/foreman.safesite-mobile/node_modules/corber-webpack-plugin/index.js:14:19)
    at createCompiler (/Users/kieran/work/cloudscape/cloudscape/packages/foreman.safesite-mobile/node_modules/webpack/lib/webpack.js:71:12)
    at create (/Users/kieran/work/cloudscape/cloudscape/packages/foreman.safesite-mobile/node_modules/webpack/lib/webpack.js:115:15)
    at webpack (/Users/kieran/work/cloudscape/cloudscape/packages/foreman.safesite-mobile/node_modules/webpack/lib/webpack.js:139:31)
    at f (/Users/kieran/work/cloudscape/cloudscape/packages/foreman.safesite-mobile/node_modules/webpack/lib/index.js:35:15)
    at WebpackCLI.createCompiler (/Users/kieran/work/cloudscape/cloudscape/packages/foreman.safesite-mobile/node_modules/webpack-cli/lib/webpack-cli.js:219:24)
    at WebpackCLI.getCompiler (/Users/kieran/work/cloudscape/cloudscape/packages/foreman.safesite-mobile/node_modules/webpack-cli/lib/webpack-cli.js:242:21)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant