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

RDEV-5995 Support for webpack 5 #151

Merged
merged 26 commits into from
Oct 20, 2023
Merged

RDEV-5995 Support for webpack 5 #151

merged 26 commits into from
Oct 20, 2023

Conversation

alvesmiguel1
Copy link
Collaborator

@alvesmiguel1 alvesmiguel1 commented Sep 26, 2023

Upgrade webpack and its plugins from v4 to v5, and dealing with breaking changes.

@alvesmiguel1 alvesmiguel1 self-assigned this Sep 27, 2023
@alvesmiguel1 alvesmiguel1 requested a review from mpm-os October 19, 2023 14:56
@alvesmiguel1 alvesmiguel1 changed the title Webpack 5 POC RDEV-5995 Support for webpack 5 Oct 19, 2023
@alvesmiguel1 alvesmiguel1 marked this pull request as ready for review October 19, 2023 15:30
@mpm-os mpm-os self-requested a review October 20, 2023 09:04
ViewGenerator/tools/webpack/Plugins/Utils.ts Show resolved Hide resolved
@@ -1,84 +1,44 @@
import { basename } from "path";
import { RuleSetRule } from "webpack";
import { AssetInfo, NormalModule, PathData, RuleSetRule } from "webpack";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will these changes fix the hack we have on the framework to have the web components packages available in that project?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which hack? 😅 the webview.plugins symlink?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If so, I haven't changed that

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image after the pnpm we had to have direct references on the package.json of the Framework because of this File.ts

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to test this, I'm not convinced it will fix it..

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I do not think it will fix it... But I have some ideas that we can leverage afterwards

@alvesmiguel1 alvesmiguel1 merged commit 90d6c3e into master Oct 20, 2023
5 of 7 checks passed
@alvesmiguel1 alvesmiguel1 deleted the webpack-5-poc branch October 20, 2023 15:54
@alvesmiguel1
Copy link
Collaborator Author

@joaompneves I'll address your comments in another PR

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

Successfully merging this pull request may close these issues.

5 participants