-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use Asset Modules plus upgrade to npm 7 #165
Conversation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!!
Do we need to specify the engines in
|
Would be nice @raimund-schluessler 🚀 |
- Use backwards-compatible lockfile version 2, docs https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json#lockfileversion - Require npm >=7.0.0 in package engines Signed-off-by: Christopher Ng <chrng8@gmail.com>
- Introduced in webpack v5 https://webpack.js.org/guides/asset-modules/ Signed-off-by: Christopher Ng <chrng8@gmail.com>
c1527b9
to
2ab3f1b
Compare
It's backwards compatible but I've added it for consistency across the nextcloud ecosystem :) |
Use Asset Modules introduced in webpack 5 and upgrade to npm 7
Docs https://webpack.js.org/guides/asset-modules/