- Notifications
You must be signed in to change notification settings - Fork 818
Closed
ionic-team/ionic-framework
#29666Labels
Resolution: Needs InvestigationThis PR or Issue should be investigated from the Stencil teamThis PR or Issue should be investigated from the Stencil team
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
2.13.0
Current Behavior
Rollup provides an option to supply a value for external (a string, regex, array of either or a function) - https://rollupjs.org/guide/en/#external However stencil does not support this option in the rollupConfig.inputOptions section of a stencil.config
Expected Behavior
With an external option specified the matching packages would be excluded from the output bundle (per rollups default behavior)
Steps to Reproduce
Add
rollupConfig: { inputOptions: { external: /foo*/, } }, to a stencil.config.ts in a new project and observe that the option is flagged as an error by typescript and that it has no impact on the generated bundle files.
Code Reproduction URL
Additional Information
There is commentary about supporting this rollup option in #1938 - but that issue is now stale and only contributors can comment.
tomwayson, JoCa96 and b3nab
Metadata
Metadata
Assignees
Labels
Resolution: Needs InvestigationThis PR or Issue should be investigated from the Stencil teamThis PR or Issue should be investigated from the Stencil team