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

support __webpack_is_included__ #4443

Closed
Tracked by #4327
ahabhgk opened this issue Oct 26, 2023 · 2 comments · Fixed by #5242
Closed
Tracked by #4327

support __webpack_is_included__ #4443

ahabhgk opened this issue Oct 26, 2023 · 2 comments · Fixed by #5242
Assignees
Labels
team The issue/pr is created by the member of Rspack.

Comments

@ahabhgk
Copy link
Collaborator

ahabhgk commented Oct 26, 2023

https://webpack.js.org/api/module-variables/#__webpack_is_included__-webpack-specific

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Oct 26, 2023
@LingyuCoder
Copy link
Collaborator

This feature had been supported by #5087, but webpack test can not pass because of __webpack_is_included__("./module" + "Used"). This dependent on compile time evaluation. cc @bvanjoi

@bvanjoi
Copy link
Collaborator

bvanjoi commented Jan 5, 2024

/assign @bvanjoi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants