New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rox-embedded-webpack-plugin

Package Overview
Dependencies
Maintainers
4
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.8
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-30%
Maintainers
4
Weekly downloads
 
Created
Source

rox-embedded-webpack-plugin

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

Peer Depedency 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-webpackyarn install -D rox-embedded-webpack

Release

The release process is manual, there is no CI. To upload the new release to npm, you will need to be listed as a maintainer on the rox-embedded-webpack-plugin package. To become a maintainer, talk to one of the existing maintainers who will be able to invite you to the project.

To release the plugin:

  1. Create a new branch to make updates to package.json etc. e.g. git checkout -b create-1.2.3-release
  2. Make the new release by running yarn release. This will update the version number, add an entry to CHANGELOG.md and create a tag.
  3. Push the changes on your create-1.2.3-release branch to your fork or a branch on origin ready to create a Pull Request. e.g. git push my-fork create-1.2.3-release or git push origin create-1.2.3-release
  4. Push the newly created release tag to GitHub, e.g. git push origin v1.2.3 (or git push origin --tags if you're sure you haven't created any other tags!)
  5. Create a Pull Request and get it reviewed/merged back to master.
  6. Upload the new release to npm: npm publish

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 15 Dec 2021

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc