@yaba/plugin

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i @yaba/plugin

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

7.52 kB

Total Files

8

Last publish

Collaborators

  • ozsay