Skip to content

upgrade Rollup and all plugins to 3.x #1087

@thescientist13

Description

@thescientist13

Type of Change

Enhancement

Summary

We are a little behind on our Rollup version, in fact at the time of this writing, Rollup v3 was out, but now v4 is also out!

Big things that come with this are:

Details

We should go through the v3 docs and upgrade guide test that everything is compatible .

If that goes well, we should try and upgrade to v4. 🤞


Some notes to self :

  1. Want to call out I ran into this issue with fs/promises - [@rollup/plugin-node-resolve] error detecte if a string matches the name of a Node.js builtin module rollup/plugins#1120
  2. avoiding JSON in escodegen somehow? - require of _package.json_ complicates bundling estools/escodegen#455
    this is due to make JSX transformations (and dependencies) opt-in / lazy loaded wcc#116
  3. Per Enhancement/issue 1088 refactor Workers out of SSR builds #1110, had to add this work around for Lit, should see if it can be removed - https://github.com/ProjectEvergreen/greenwood/pull/1110/files#diff-57634df7e2b1ba3ea0031d8adc1e73230ca3c93bbecfdea7b44d00c7e100ec8bR251

Metadata

Metadata

Assignees

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions