Skip to content

a small Webpack plugin to integrate web-ext commands into a web-pack build.

License

Notifications You must be signed in to change notification settings

MarZab/webpack-webext-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-webext-plugin

a small Webpack plugin to integrate web-ext commands into a web-pack build.

Installation

npm i -D rpl/webpack-webext-plugin

In webpack.config.js

const WebpackWebExt = require('webpack-webext-plugin');

let config = {
    // <...>

    plugins: [
      new WebpackWebExt({
        runOnce: false,
        argv: ["lint", "-s", "extension/"],
      }),

      new WebpackWebExt({
        runOnce: true,
        maxRetries: 3,
        argv: ["run", "-s", "extension/"],
      })
    ]
};

module.exports = config;

Usage

webpack -w

About

a small Webpack plugin to integrate web-ext commands into a web-pack build.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%