-
-
Notifications
You must be signed in to change notification settings - Fork 146
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
I'd like tsdown to add node: prefix to builtin module in Node.js automatically.
tsdown has removeNodeProtocol but this is the opposite option.
Currently I'm using rollup-plugin-node-externals, but I prefer using this operation with adding a single option to tsdown.
Suggested solution
I suggest to add a new plugin which is similar to rollup-plugin-node-externals internally.
Also we can exports the option of rollup-plugin-node-externals to manage the node prefix. They supports builtinsPrefix option (builtinsPrefix?: 'add' | 'strip' | 'ignore')
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request