@crxjs/migrate
v0.6.10
Published
Codemod to migrate from RPCE to CRXJS
Downloads
21
Maintainers
Readme
Migrate from RPCE to @crxjs/vite-plugin
RPCE has moved Vite support to a new NPM package. Thanks for joining us on the journey!
Migrate your Chrome Extension project from RPCE to @crxjs/vite-plugin
using
this codemod script:
npx @crxjs/migrate
What it does
This script will detect your package manager (npm, pnpm, or yarn) and ask permission to perform one or more of these actions:
- Update your Vite config file
- Install
@crxjs/vite-plugin
- Remove
rollup-plugin-chrome-extension
Options
You can specify the Vite config filename with the --file
flag:
npx @crxjs/migrate --file vite.config.js