-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
converted-esm/import-meta-resolve.js single-file CJS is unnecessarily huge due to non-ESM node_modules externals bundled by esbuild #9
Comments
For example, the bundled NPM packages |
ping @aladdin-add @voxpelli @giltayar Thanks for your work 😸 |
Pull Request: #10 |
https://github.com/weiran-zsd/eslint-plugin-node/blob/master/lib/converted-esm/import-meta-resolve.js
Suggested fix: try esbuild externals
--external:./node_modules/*
(or be more selective if some externals are ESM instead of CJS dependencies)
See documentation: https://esbuild.github.io/api/#external
The text was updated successfully, but these errors were encountered: