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 require.ensure #4304

Open
Tracked by #4327
ahabhgk opened this issue Oct 11, 2023 · 4 comments
Open
Tracked by #4327

support require.ensure #4304

ahabhgk opened this issue Oct 11, 2023 · 4 comments
Labels
feat New feature or request stale team The issue/pr is created by the member of Rspack.

Comments

@ahabhgk
Copy link
Collaborator

ahabhgk commented Oct 11, 2023

What problem does this feature solve?

  • webpack-test/cases/chunks/context
  • webpack-test/cases/chunks/named-chunks

What does the proposed API of configuration look like?

require.ensure()

@ahabhgk ahabhgk added feat New feature or request pending triage The issue/PR is currently untouched. labels Oct 11, 2023
@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Oct 11, 2023
@ahabhgk ahabhgk added p3-has-workaround and removed pending triage The issue/PR is currently untouched. labels Oct 13, 2023
@WbaN314
Copy link

WbaN314 commented Oct 17, 2023

Is there any timeline when this will be supported?

@ahabhgk
Copy link
Collaborator Author

ahabhgk commented Oct 17, 2023

Not sure, this is low priority since it can be replaced by import(), but PR welcome

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

No branches or pull requests

4 participants