Socket
Book a DemoInstallSign in
Socket

rox-embedded-webpack-plugin

Package Overview
Dependencies
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-embedded-webpack-plugin

A webpack plugin which injects embedded rox configuration into your build

1.1.9
latest
npmnpm
Version published
Weekly downloads
13
-59.37%
Maintainers
5
Weekly downloads
 
Created
Source

rox-embedded-webpack-plugin

A 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 or rox-node).

Installation

Install the plugin:

NPMYarn
npm install --save-dev rox-embedded-webpack-pluginyarn 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)
}

FAQs

Package last updated on 01 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.