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

Fix loading .cjs in webpack #6237

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Fix loading .cjs in webpack #6237

merged 2 commits into from
Aug 6, 2024

Conversation

davisagli
Copy link
Sponsor Member

(Make sure it doesn't get processed by the file-loader)

Fixes #6219

Copy link

netlify bot commented Aug 5, 2024

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit b8e1d25
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/66b1405c11b1d50008f2ea4b

Copy link
Member

@wesleybl wesleybl left a comment

Choose a reason for hiding this comment

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

This worked for me. Great!

Copy link
Sponsor Member

@ichim-david ichim-david left a comment

Choose a reason for hiding this comment

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

@davisagli it's nice that the file loader exclusion dealt with the bundling of the .cjs. I stil have my doubts about how Language.js should be used and if we will be able to mix common js and esm modules going forward but we shall see.

@davisagli davisagli merged commit 65e9547 into main Aug 6, 2024
68 checks passed
@davisagli davisagli deleted the fix-webpack-cjs branch August 6, 2024 05:30
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.

Unable to change language of Volto core
3 participants