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 compatibility #497

Open
LeComptoirDesPharmacies opened this issue May 3, 2021 · 3 comments
Open

Webpack 5 compatibility #497

LeComptoirDesPharmacies opened this issue May 3, 2021 · 3 comments

Comments

@LeComptoirDesPharmacies
Copy link

LeComptoirDesPharmacies commented May 3, 2021

When upgading to Webpack 5, offline-plugin is not compatible.
So we forked to work on a fix here => #499

Yours faithfully,
LCDP

@LeComptoirDesPharmacies
Copy link
Author

Closed and reopened the pull request here => #499

@LeComptoirDesPharmacies
Copy link
Author

We really need offline-plugin to work with webpack 5 so our team forked and worked on a release candidate that work with Webpack 5, it's available here => https://www.npmjs.com/package/@lcdp/offline-plugin

Any feedback are welcome, we need you to improve the compatibility with webpack 5 !

@brandoncollins7
Copy link

We really need offline-plugin to work with webpack 5 so our team forked and worked on a release candidate that work with Webpack 5, it's available here => https://www.npmjs.com/package/@lcdp/offline-plugin

Any feedback are welcome, we need you to improve the compatibility with webpack 5 !

I am still getting the exact same error as with offline-plugin:

nx run back-ui:build:production
> NX Invalid options object. Terser Plugin has been initialized using an options object that does not match the API schema.

       - options has an unknown property 'minimizer'. These properties are valid:
         object { test?, include?, exclude?, terserOptions?, extractComments?, parallel?, minify? }
      Pass --verbose to see the stacktrace.

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