Skip to content

fix: compile time evaluation of __webpack_layer__#8381

Merged
ahabhgk merged 1 commit intoweb-infra-dev:mainfrom
inottn:fix/layer
Nov 11, 2024
Merged

fix: compile time evaluation of __webpack_layer__#8381
ahabhgk merged 1 commit intoweb-infra-dev:mainfrom
inottn:fix/layer

Conversation

@inottn
Copy link
Copy Markdown
Collaborator

@inottn inottn commented Nov 8, 2024

Summary

see #7848 and test cases for more details.

I found that there are also issues with the evaluation of typeof. It should check whether the layer exists. I fixed this in this PR as well.

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 Nov 8, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Nov 8, 2024

Deploy Preview for rspack ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5b63a8e
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/672ddb89802e0d0008b25130
😎 Deploy Preview https://deploy-preview-8381--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@h-a-n-a h-a-n-a requested a review from ahabhgk November 8, 2024 09:44
@h-a-n-a h-a-n-a changed the title fix: compile time evaluation of __webpack_layer__ fix: compile time evaluation of __webpack_layer__ Nov 8, 2024
@ahabhgk ahabhgk merged commit ce5694e into web-infra-dev:main Nov 11, 2024
@inottn inottn deleted the fix/layer branch November 11, 2024 06:29
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