0.2.6 • Published 5 months ago

esbuild-plugin-userscript v0.2.6

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

esbuild-plugin-userscript

ESbuild plugin(s) for userscripts.

Available plugins:

  • userscript-inject-code - Injects code fragment into compiled userscript
  • userscript-metadata - Injects metadata comments
  • userscript-proxy - Generates proxy scripts to bypass browser cache

Usage

As a single plugin:

import { userscript } from "esbuild-plugin-userscript"

build({
  plugins: [
    userscript({
      // ...
    })
  ]
})

As separate plugins:

import { userscript } from "esbuild-plugin-userscript"

build({
  plugins: [
    userscript.metadata({
      // ...
    })
  ]
})
0.2.6

5 months ago

0.2.5

5 months ago

0.2.4

5 months ago

0.2.3

5 months ago

0.2.2

5 months ago

0.2.1

5 months ago

0.2.0

5 months ago

0.2.0-dev.3

5 months ago

0.2.0-dev.2

5 months ago

0.2.0-dev.1

5 months ago

0.2.0-dev.0

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago