Files
wxt/packages/module-solid
dependabot[bot] b5235ed4f0 chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 (#2325)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron <aaronklinker1@gmail.com>
2026-05-10 10:33:47 -05:00
..
2025-03-28 10:25:56 -05:00

@wxt-dev/module-solid

Enables the use of SolidJS in your web extension, in HTML pages and content scripts.

This plugin makes a few changes:

  1. Adds vite-plugin-solid to and sets build.target: esnext in the vite config
  2. Adds the solid-js preset to auto-imports

Usage

pnpm i solid-js
pnpm i -D @wxt-dev/module-solid

Then add the module to your config:

// wxt.config.ts
export default defineConfig({
  // Required
  modules: ['@wxt-dev/module-solid'],

  // Optional: Pass options to the module:
  solid: {
    vite: {
      // ...
    },
  },
});