Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rox-embedded-webpack-plugin

agentgonzo34SEE LICENSE IN LICENSE1.1.9

A webpack plugin which injects embedded rox configuration into your build

readme

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)
}