[building-rollup] breaking changes (v1)
See original GitHub issueWe are preparing a breaking change for building-rollup
. The changes will improve the dev experience using the config generator, and implement more output optimizations.
This is the list of things we are planning, if you have anything you’d like to see let us know.
- Rename current config to SPA config, to prepare for other types of configs in the future.
- Use the new rollup multi output option
- Use the new rollup plugin babel v5, which can run babel on a chunk instead of per file
- Use babel runtime helpers, instead of duplicating them in each chunk.
- Use babel preset modules.
- Split rollup index html plugin into separate plugins with a single job, making it much easier for people to compose and tweak the settings.
- Use the new rollup asset API for outputting assets, also making it easier for people to control their output index html
- Add docs explaining the necessary steps to create your own rollup config for web components and/or lit html.
- Remove all options from the config creator, use standard rollup input option for input and document filtering/modifying plugins using a simple array filter or map.
- Encourage forking the rollup config, or extending only the base config, for experienced users.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:6 (4 by maintainers)
Top Results From Across the Web
rollup/CHANGELOG.md at master - GitHub
Breaking Changes. General Changes. Rollup now requires at least Node 14.18.0 to run (#4548 and #4596); The browser build has been split into...
Read more >rollup.js
Developing software is usually easier if you break your project into smaller separate pieces, since that often removes unexpected interactions and dramatically ...
Read more >Build for production - Lit.dev
There are many ways to set up Rollup to bundle your project. This section describes a two basic builds: A modern build that...
Read more >@open-wc/rollup-plugin-html | Yarn - Package Manager
Plugin for generating HTML files from rollup. Generate one or more HTML pages from a rollup build; Inject rollup bundle into an HTML...
Read more >@rollup/plugin-beep - npm
A Rollup plugin that beeps when a build ends with errors. Requirements. This plugin requires an LTS Node version (v14.0.0+) and Rollup v1....
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
I’m trying to push it out as soon as possible 😃 My aim is this weekend or next.
This was implemented in v1 of building-rollup.