JSPM

  • Created
  • Published
  • Downloads 5992
  • Score
    100M100P100Q168472F
  • License MIT

Package Exports

  • vite-plugin-web-extension

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 (vite-plugin-web-extension) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Vite Plugin Web Extension

A simple but powerful Vite plugin for developing browser extensions

npm i -D vite-plugin-web-extension
// vite.config.ts
import browserExtension from "vite-plugin-web-extension";

export default defineConfig({
  plugins: [
    browserExtension({
      manifest: path.resolve(__dirname, "manifest.json"),
      assets: "assets",
    }),
  ],
});

Head over to GitHub to see the full docs and advanced options