1.0.2 • Published 5 years ago

wech-loader v1.0.2

Weekly downloads
1
License
AGPL-3.0-only
Repository
-
Last release
5 years ago

WECh Loader

A loader for porting WebExtensions into Chrome Extensions. WECh is an abbreviation of the words "WebExtensions" and "Chrome".

Getting Started

To begin, you'll need to install wech-loader:

$ npm install wech-loader --save-dev

Then add it to your webpack configuration:

webpack.config.js

// webpack.config.js
module.exports = {
    module: {
        rules: [
            {
                test: /\.js$/,
                use: 'wech-loader'
            }
        ]
    }
}