Skip to content

fix: change javascript parser options to properly merge#7946

Merged
ahabhgk merged 3 commits intoweb-infra-dev:mainfrom
inottn:fix/js-parser-options
Sep 23, 2024
Merged

fix: change javascript parser options to properly merge#7946
ahabhgk merged 3 commits intoweb-infra-dev:mainfrom
inottn:fix/js-parser-options

Conversation

@inottn
Copy link
Copy Markdown
Collaborator

@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
@netlify
Copy link
Copy Markdown

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

@chenjiahan chenjiahan requested a review from ahabhgk September 23, 2024 09:13
Copy link
Copy Markdown
Contributor

@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
@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