# rox-embedded-webpack-plugin

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

Latest version **1.1.9** (published 2022-03-01) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install rox-embedded-webpack-plugin
pnpm add rox-embedded-webpack-plugin
yarn add rox-embedded-webpack-plugin
bun add rox-embedded-webpack-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.9 |
| Published | 2022-03-01 |
| First published | 2018-03-05 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 28.6 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Rollout.io |
| Maintainers | cajoy, eladrollout, asaf_rollout, agentgonzo, markwm |

## Links

- npm: https://www.npmjs.com/package/rox-embedded-webpack-plugin
- npm.io page: https://npm.io/package/rox-embedded-webpack-plugin

## Dependencies (2)

- [qs](https://npm.io/package/qs.md) ^6.5.1
- [axios](https://npm.io/package/axios.md) ^0.26.0

## Recent versions

- 1.1.9 (latest) — 2022-03-01
- 1.1.8 — 2021-12-15
- 1.1.7 — 2021-12-15
- 1.1.6 — 2021-12-15
- 1.1.5 — 2021-11-24
- 1.1.4 — 2021-11-23
- 1.1.3 — 2020-03-09
- 1.1.0 — 2018-07-03
- 1.0.2 — 2018-03-05

## README

# rox-embedded-webpack-plugin

A [webpack](https://github.com/webpack/webpack) plugin which injects embedded rox configuration into your build.

 ###### Peer Dependency Requirements
 - Webpack 3.0.0 or higher
 - A compaitable ROX SDK installed ([rox-browser](https://www.npmjs.com/package/rox-browser) or [rox-node](https://www.npmjs.com/package/rox-node)).

## Installation

Install the plugin:

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

## Usage
###### CommonJS
```es6
const ROXEmbeddedPlugin = require('rox-embedded-webpack-plugin');
module.exports = {
  entry: //...,
  output: //...,
  plugins: [
    new ROXEmbeddedPlugin(options)
  ]
}
```
###### ES6 / ES2015 Modules
```es6
import ROXEmbeddedPlugin = from 'rox-embedded-webpack-plugin';
export default {
  entry: //...,
  output: //...,
  plugins: [
    new ROXEmbeddedPlugin(options)
  ]
}
```
## Options
It is an object with the following keys:
```es6
{
   app: <YOUR APP KEY>,
   platform: <YOUR_PLATFORM_OF_CHOICE>, // (you can use 'Browser' here)
   output: <ABS_TEMPORARY_OUTPUT_DIR> // (OPTIONAL)
}
```

---
_Source: https://npm.io/package/rox-embedded-webpack-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
