JSPM

  • Created
  • Published
  • Downloads 1506
  • Score
    100M100P100Q113133F
  • License MIT

Build Chrome Extensions with this Rollup plugin.

Package Exports

  • rollup-plugin-chrome-extension
  • rollup-plugin-chrome-extension/lib/index-cjs.js
  • rollup-plugin-chrome-extension/lib/index-esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-chrome-extension) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rollup-plugin-chrome-extension

npm (scoped) GitHub last commit GitHub action badge TypeScript Declarations Included

rollup-plugin-chrome-extension logo

A feature-rich solution for bundled Chrome Extensions, brought to you by Extend Chrome.

Build Chrome extensions using Rollup, with minimal configuration. Now with MV3 support.

Use manifest.json as the input. Every file in the manifest will be bundled or copied to the output folder.

Vite support is in beta! See the PR for details.

Documentation

We have boilerplates for React JavaScript, React TypeScript and Svelte, as well as instructions for setting up your own project.

See the documentation for usage and how to get started.

Contributing

Your help is super welcome!

๐Ÿ‘€ Be sure to take a look at the issues before starting to work on a new feature.

๐Ÿ™ Please update the tests to cover bug fixes or new features.

๐Ÿ“• If you want to update the docs, you can find the docs repo over here:

https://github.com/jacksteamdev/extend-chrome-docs

Development

Our preferred package manager is pnpm, but npm or Yarn should work.

If you're using VSCode you can run the default build task (Ctrl+Shift+B or โ‡งโŒ˜B for Mac) to start building and type checking.