@yaba/plugin
v1.0.2
Published
This is the `webpack` plugin used to send bundle data to the <a href="https://yaba.io" target="_blank">Yaba application</a>.
Downloads
3
Maintainers
Readme
This is the webpack
plugin used to send bundle data to the Yaba application.
This document will provide simple webpack configuration. you should check the documentation for further details.
Install the Yaba Plugin
Install Yaba Plugin via npm
or yarn
.
npm i --save-dev @yaba/plugin
yarn add --dev @yaba/plugin
Configure the Yaba Plugin
webpack.config.js
const YabaPlugin = require('@yaba/plugin');
module.exports = {
entry: 'index.js',
output: {
path: __dirname + '/dist',
filename: 'bundle.js'
},
plugins: [
new YabaPlugin()
]
}
If Yaba application is not running, the plugin doesn't do anything.