@cnlabs/integrator-webpack-plugin

2.2.3 • Public • Published

Add dev dependency

yarn add --dev @fin-cian/integrator-webpack-plugin

Add plugin to webpack.config

    const IntegratorWebpackPlugin = require('@fin-cian/integrator-webpack-plugin');
    //...
    plugins: [
        //...
        new IntegratorWebpackPlugin({
            output: "widget.js", 
            publicPath: `http://localhost:${PORT}`
        }),
        //...
    ]

Options

NAME DEFAULT Description
output widget.js Name of javascript file to be added
publicPath http://localhost Prefix to be added to each asset filename

Readme

Keywords

none

Package Sidebar

Install

npm i @cnlabs/integrator-webpack-plugin

Weekly Downloads

0

Version

2.2.3

License

ISC

Unpacked Size

5.57 kB

Total Files

6

Last publish

Collaborators

  • barakuda
  • fmckey
  • kammif
  • migger