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

feat: expose notExternal option, introduce externalNodeModules option #44

Merged
merged 2 commits into from
May 2, 2024

Conversation

antfu
Copy link
Contributor

@antfu antfu commented May 2, 2024

fix #42

Copy link

codesandbox bot commented May 2, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@egoist
Copy link
Owner

egoist commented May 2, 2024

Maybe set externalNodeModules to false by default whenfilepath option is a node_modules path 🤔

@antfu
Copy link
Contributor Author

antfu commented May 2, 2024

Sure, updated. I wasn't very sure, but yeah probably that would have the better DX

@egoist egoist merged commit 7db8ecb into egoist:main May 2, 2024
3 checks passed
Copy link

github-actions bot commented May 2, 2024

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The entry point C:\\Users\\...\\node_modules\\...\\index.ts cannot be marked as external
2 participants