Skip to content

Bump rollup from 2.x to 4.x in @exile-watch/rollup-config #7

@sbsrnt

Description

@sbsrnt

Important

There is a possibility @exile-watch/rollup-config may be replaced with a similar config in favor of https://rolldown.rs/.

Probably by the time all checkboxes are ticked, Rolldown may be production ready.
We may still hold on checking rolldown until there is a published minor version after the official first release.



User story
As a developer, I want to be fairly up to date with latest package versions and this applies to Rollup.

Current @exile-watch/rollup-config rollup version is sitting at 2.x, 2 major versions behind.

There are couple breaking changes, most notable that affect @exile-watch/rollup-config package directly:

Acceptance criteria

  • acornInjectPlugins rollup config option is removed (need to see what's the impact)
  • acorn-jsx dependency is uninstalled
  • RollupWarning is replaced with RollupLog here and here
  • Similarly to the bullet point above, WarningHandler is replaced with LoggingFunction
  • Investigate if there are no circular dependency errors happening (there could be one coming from @rollup/plugin-commonjs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions