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.main #3562

Closed
Tracked by #3503
hyf0 opened this issue Jun 16, 2023 · 4 comments · Fixed by #5209
Closed
Tracked by #3503

Support require.main #3562

hyf0 opened this issue Jun 16, 2023 · 4 comments · Fixed by #5209
Labels
stale team The issue/pr is created by the member of Rspack.

Comments

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Jun 16, 2023
@hyf0
Copy link
Collaborator Author

hyf0 commented Jun 16, 2023

I didn't find this on the Webpack documentation. Is this feature going to be deprecated? @alexander-akait


ignore me.

@hyf0 hyf0 added good first issue Good for newcomers and removed good first issue Good for newcomers labels Jun 16, 2023
@hardfist
Copy link
Contributor

hardfist commented Jun 17, 2023

it's a feature of nodejs commonjs module https://nodejs.org/api/modules.html#requiremain

@alexander-akait
Copy link

alexander-akait commented Jun 21, 2023

To be honestly I see require.main only one my life in the real code 😄

@stale
Copy link

stale bot commented Aug 20, 2023

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale 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