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
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
You can specify the Vite config filename with the --file
flag:
npx @crxjs/migrate --file vite.config.js