rox-embedded-webpack-plugin

1.1.9 • Public • Published

rox-embedded-webpack-plugin

A webpack plugin which injects embedded rox configuration into your build.

Peer Dependency Requirements

Installation

Install the plugin:

NPM Yarn
npm install --save-dev rox-embedded-webpack-plugin yarn install -D rox-embedded-webpack-plugin

Usage

CommonJS
const ROXEmbeddedPlugin = require('rox-embedded-webpack-plugin');
module.exports = {
  entry: //...,
  output: //...,
  plugins: [
    new ROXEmbeddedPlugin(options)
  ]
}
ES6 / ES2015 Modules
import ROXEmbeddedPlugin = from 'rox-embedded-webpack-plugin';
export default {
  entry: //...,
  output: //...,
  plugins: [
    new ROXEmbeddedPlugin(options)
  ]
}

Options

It is an object with the following keys:

{
   app: <YOUR APP KEY>,
   platform: <YOUR_PLATFORM_OF_CHOICE>, // (you can use 'Browser' here)
   output: <ABS_TEMPORARY_OUTPUT_DIR> // (OPTIONAL)
}

Readme

Keywords

none

Package Sidebar

Install

npm i rox-embedded-webpack-plugin

Weekly Downloads

6

Version

1.1.9

License

SEE LICENSE IN LICENSE

Unpacked Size

29.3 kB

Total Files

5

Last publish

Collaborators

  • cajoy
  • eladrollout
  • cloudbees-owner
  • asaf_rollout
  • agentgonzo
  • markwm
  • eladcloudbees
  • sgrahamcloud