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: change javascript parser options to properly merge #7946

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

inottn
Copy link
Contributor

@inottn inottn commented Sep 22, 2024

Summary

After #7812, we should not return the default value in getRawJavascriptParserOptions, as it will break the merging logic.

I want to write test cases, but I found that the createParser hook of NormalModuleFactory is not yet supported.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Sep 22, 2024
Copy link

netlify bot commented Sep 22, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit e97d10a
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66f04fc679e91b00087884e0

Copy link
Collaborator

@ahabhgk ahabhgk left a comment

Choose a reason for hiding this comment

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

Good catch! Thanks!

@ahabhgk ahabhgk merged commit b407b73 into web-infra-dev:main Sep 23, 2024
35 checks passed
@inottn inottn deleted the fix/js-parser-options branch September 23, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug related release(mr only)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants