-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Upgrade to webpack@5 #4894
Upgrade to webpack@5 #4894
Conversation
Signed-off-by: Roman <[email protected]>
# Conflicts: # src/main/menu/menu.ts
…ompilation in `yarn compile:extension-types`
@lensapp/lens-maintainers PTAL, ready for review again. |
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 + font issues is fixed!
import * as vars from "./src/common/vars"; | ||
import getTSLoader from "./src/common/getTSLoader"; | ||
import CircularDependencyPlugin from "circular-dependency-plugin"; | ||
import { iconsAndImagesWebpackRules } from "./webpack.renderer"; | ||
|
||
const configs: { (): webpack.Configuration }[] = []; | ||
|
||
configs.push((): webpack.Configuration => { | ||
console.info("WEBPACK:main", vars); |
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.
Can you please fix this and the "WEBPACK:renderer"
one too, just change it to be { ...vars }
I'll make a follow up PR to fix that minor issue. |
Signed-off-by: DmitriyNoa <[email protected]>
webpack@5
and all related loaders with latest versionswebpack-dev-server
proxying tolens-proxy
@pmmmwh/react-refresh-webpack-plugin
withreact-refresh-typescript
to support HMRrevived from #4725 + #4867