Allow more customisation of rollup configuration
See original GitHub issueIs your feature request related to a problem? Please describe. I’m using vite to build a site with Svelte, using Svite. It works well! The only missing link for me is supporting older browsers. It’d be ideal to have a way to run babel over the code, just before minification.
Describe the solution you’d like
If I manually modify the rollup config builder to inject the @rollup/plugin-babel
plugin, it works well. Ideally I’d like a way to do that via configuration - it’s already possible to add plugins before other plugins, but it would be good to have more fine-grained control over their insertion order in the config.
Describe alternatives you’ve considered Not supporting around 5% of my userbase, unfortunately.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Enable Customizable Rollups Unit - Trailhead - Salesforce
Enabling Customizable Rollups · Find and select NPSP Settings through the App Launcher ( The App Launcher icon ) · Click Donations. ·...
Read more >Configuring Customizable Rollups in NPSP: Part Two
Enabling Customizable Rollups You can enable Customizable Rollups from the NPSP Settings. Here's the click path: NPSP Settings> Donations> ...
Read more >rollup.js
You can provide an optional Rollup configuration file to simplify command line ... Import a specific item from a source module, with a...
Read more >Two Minute Tuesday: Custom Rollup Configuration - YouTube
When we start with a fresh database or a fresh PCRecruiter user account, we get the default setup of columns and features in...
Read more >The Ultimate Guide to Getting Started with the Rollup.js ...
The downside is they can be more difficult to configure if you have custom requirements. Rollup.js primarily concentrates on JavaScript so ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Fanna1119 you can use
config.rollupOutputOptions
cover default output file name@antony As you said that be more better, but it is not feasible by the common way contorl it, it will caused many complexity.I just close it for the clear issues, we can keep discuss this if anyone have a good idea to implement it.