question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow more customisation of rollup configuration

See original GitHub issue

Is 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zhangyuangcommented, Aug 20, 2020

@Fanna1119 you can use config.rollupOutputOptions cover default output file name

image

0reactions
underfincommented, Aug 30, 2020

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.

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found