developit / developit/microbundle

update rollup from 2.35.1 (2020-12-14) to at least 3.16.0 (2023-02-17), or ideally latest (4.6.1, 2023-11-30)

Aperta
#1,067 12 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
8.1k
Fork
358
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Splitting this off as a new issue so it can be tracked more easily. See the original issue for more context:

> `output.sourcemapIgnoreList` was added to `rollup` in `3.16.0` (`2023-02-17`):
>
> - https://github.com/rollup/rollup/blob/master/CHANGELOG.md#3160
> - > Support `output.sourcemapIgnoreList` option to mark file sources as ignored in the `x_google_ignoreList` attribute of the resulting sourcemap (rollup/rollup#4848)
>
> `microbundle` is using a super outdated version of `rollup` (`2.35.1`) from `2020-12-14`:
>
> - https://github.com/developit/microbundle/blob/c76c41f8317611f7592d8e44c569e8083076f25f/package.json#L102
>
> So before we can implement this change, we'll need to upgrade to a modern version of `rollup`.
>
> _Originally posted by @0xdevalias in https://github.com/developit/microbundle/issues/1066#issuecomment-1837821773_

`microbundle` is currently using `rollup` `2.35.1` (`2020-12-14`):

- https://github.com/rollup/rollup/blob/master/CHANGELOG.md#2351

`output.sourcemapIgnoreList` (required to implement #1066) support was added in `3.16.0` (`2023-02-17`):

- https://github.com/rollup/rollup/blob/master/CHANGELOG.md#3160

Latest version (at time of writing) is `4.6.1` (`2023-11-30`):

- https://github.com/rollup/rollup/blob/master/CHANGELOG.md#461

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start with the Rollup dependency in package.json at the referenced line, then review the Rollup changelogs for changes between 2.35.1 and the target version. Update Rollup to at least 3.16.0, ideally 4.6.1, while checking that microbundle still builds and that the upgrade enables the output.sourcemapIgnoreList work required by #1066.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, rollup
Ambito
build-system, tooling
Tipo di issue
Refactoring
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.