camunda-modeler-webpack-plugin

0.1.0 • Public • Published

camunda-modeler-webpack-plugin

Build Status

Webpack plugin to easily configure Camunda Modeler extensions.

Installation

npm i --save-dev camunda-modeler-webpack-plugin

Usage

Add the plugin to your webpack config.

const CamundaModelerWebpackPlugin = require('camunda-modeler-webpack-plugin');

module.exports = {
  plugins: [
    new CamundaModelerWebpackPlugin()
  ]
};

Configuration

You can pass options to customize the resulting webpack configuration.

For example, in case you build a plugin to only extend the Properties Panel without using JSX syntax:

plugins: [
  new CamundaModelerWebpackPlugin({
    type: 'propertiesPanel',
    propertiesPanelLoader: false
  })
]

Following options are available:

Name Default Description
propertiesPanelAlias true Append Properties Panel alias configuration
propertiesPanelLoader true Append Properties Panel babel-loader configuration (requires @babel/core dependency)
reactAlias true Append React alias configuration
reactLoader true Append React babel-loader configuration (requires @babel/core dependency)
type Specific type of the Camunda Modeler Plugin. Only the configuration of the given type will be appended. Allowed values: react, propertiesPanel

Resources

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    12
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    12

Package Sidebar

Install

npm i camunda-modeler-webpack-plugin

Weekly Downloads

12

Version

0.1.0

License

MIT

Unpacked Size

8.44 kB

Total Files

8

Last publish

Collaborators

  • vsgoulart
  • skaiir-camunda
  • marstamm
  • beatrizmendes
  • bpmn-io-admin
  • nikku
  • pinussilvestrus
  • barmac
  • philippfromme
  • maxtru