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.

[building-rollup] breaking changes (v1)

See original GitHub issue

We 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:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
LarsDenBakkercommented, Mar 31, 2020

I’m trying to push it out as soon as possible 😃 My aim is this weekend or next.

0reactions
LarsDenBakkercommented, Apr 12, 2020

This was implemented in v1 of building-rollup.

Read more comments on GitHub >

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

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