@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
nonePackage Sidebar
Install
npm i @cnlabs/integrator-webpack-plugin
Weekly Downloads