Socket
Socket
Sign inDemoInstall

@mixer/cdk-webpack-plugin

Package Overview
Dependencies
33
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mixer/cdk-webpack-plugin

Webpack plugin for Mixer interactive projects


Version published
Weekly downloads
3
decreased by-62.5%
Maintainers
6
Install size
44.8 MB
Created
Weekly downloads
 

Readme

Source

cdk-webpack-plugin Build Status

This plugin is used for developing with custom controls. All custom control bundles are built with Webpack, and this plugin provides hooks for the CDK to collect data and upload bundles correctly.

Usage

This plugin requires Webpack version 4. You should import it, then add it to the plugins array in the webpack.config.js. Check out the HTML starter code for an example:

const { MixerPlugin } = require('@mixer/cdk-webpack-plugin');

// ...

plugins: [
  // The Mixer plugin hooks up all the ✨magic✨ for the development server
  // and uploading to mixer.com.
  new MixerPlugin({ homepage: 'src/index.html' }),
  // ...

Options

homepage (string) Required

Should point to your entry point, canonically called the index.html. This is the page loaded and embedded in a Mixer webpage when viewers navigate to the channel.

locales (string)

You can pass a glob to load folder of locale data. For more information about dealing with translations, check out the docs on our dev site.

Keywords

FAQs

Last updated on 13 Jun 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc