1.1.1 • Published 8 months ago

crx-pack-webpack-plugin v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

crx-pack-webpack-plugin

A webpack5 plugin to pack crx, use crx3 and support typescript.

Usage

add the plugin:

yarn add crx-pack-webpack-plugin -D

configure the plugin:

new CrxPackWebpackPlugin({
  zip: true,
  xml: true,
  keyFile: "your-private-key.pem",
  contentPath: "./build",
  outputPath: "./release",
  updateURL: "http://localhost:8080",
  updateFilename: "update.xml",
  name: "example-name",
  autoClean: true,
})

Configuration Settings

OptionRequiredTypeDefaultAbout
zipnobooleantrueprovides a zip of the build files along with the CRX.
xmlnobooleantrueprovides a xml of the build files along with the CRX.
keyFileyesstringnonea private key required to update the extension.
contenPathyesstringnonelocation of build files.
outputPathyesstringnonewhere to export the built extension.
updateURLnostring"http://localhost:8000/"where to find updates.xml
updateFilenamenostring"update.xml"filename for update.xml
namenostring"package"the name of the built extension.
autoCleannobooleanfalsewhether to automatically empty files

Alternatives

Thank them for their inspiration

1.1.1

8 months ago

1.1.0

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago