-
Notifications
You must be signed in to change notification settings - Fork 901
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
Update webpack, webpack-cli and associated plugins and loaders to latest webpack-v4-supporting versions #16317
Conversation
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.
yay for less deps! g2g from me assuming audit-deps passes
|
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.
Let me know if I can be of any help :)
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.
LGTM! Thanks for doing this @petemill (looks like audit-deps is failing though)
Yep I've got audit-deps in a position where only 1 dep is causing it to fail failing due to the following chain
I'm struggling with an override that works on first install and then reverts to a bad version 🤷
|
5fa07ad
to
b8374de
Compare
Removed the |
Related #20369 |
…est webpack-v4-supporting versions
b8374de
to
342ed6c
Compare
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.
would it be useful to upgrade to webpack 5 instead of v4?
Yup, I'm having a play around with Webpack5 at the moment, but there's a bunch of funky stuff going on ( |
"dev": true | ||
}, | ||
"node_modules/trim-newlines": { | ||
"version": "1.0.0", |
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.
reported by reviewdog 🐶
[npm-audit] Uncontrolled Resource Consumption in trim-newlines
See GHSA-7p7h-4mm5-852v
Cc @fmarier @thypon
New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: file-loader@1.1.11, url-loader@1.0.0 |
…-css-modules to fix audit
342ed6c
to
ba5c10c
Compare
Bump to Webpack5: #21003 |
Had to change a couple of ways that webpack config was built.
First step in to journey for updating to webpack v5 brave/brave-browser#22351
Resolves brave/brave-browser#27282
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: