Skip to content

Migration script based on ast-grep #486

@sxzz

Description

@sxzz

TODO

Migration Rules

P.S. If anyone would like to help, please leave a comment on this PR. A placeholder can be used in warning messages.

  • import unplugin-*/esbuild to unplugin-*/rolldown
  • esbuildPlugins to plugins
  • plugins to warning (experimental & alpha in tsup)
  • splitting to warning
  • remove bundle: true
  • bundle: false to unbundle: true
  • publicDir to copy
  • removeNodeProtocol to nodeProtocol
  • metafile to warning (Vite DevTools)
  • injectStyle not implemented
  • cjsInterop to warning
  • swc to warning (oxc)
  • experimentalDts to warning
  • legacyOutput to warning
  • fill default values (if not present)
    • format: 'cjs'
    • clean: false
    • dts: false
    • target: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions