Skip to content

Webpack plugins to easily configure Camunda Modeler extensions.

License

Notifications You must be signed in to change notification settings

pinussilvestrus/camunda-modeler-webpack-plugins

Repository files navigation

This project is deprecated. Please head over to camunda/camunda-modeler-webpack-plugin to use the current version.

camunda-modeler-webpack-plugins

Build Status

Webpack plugins to easily configure Camunda Modeler extensions.

Installation

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

Usage

Add a plugin to your webpack config. For example to configure a React client extension:

const ClientExtensionWebpackPlugin = require("camunda-modeler-webpack-plugins").ClientExtensionWebpackPlugin;

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

or a properties panel extension:

const PropertiesPanelWebpackPlugin = require("camunda-modeler-webpack-plugins").PropertiesPanelWebpackPlugin;

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

Configuration

You can pass configuration options to the plugins:

plugins: [
  new ClientExtensionWebpackPlugin({
    loader: false
  })
]

ClientExtensionWebpackPlugin

Name Default Description
alias true Append React alias configuration
loader true Append babel-loader configuration (requires @babel/core dependency)

PropertiesPanelWebpackPlugin

Name Default Description
alias true Append Properties Panel alias configuration
loader true Append babel-loader configuration (requires @babel/core dependency)

Resources

License

MIT

About

Webpack plugins to easily configure Camunda Modeler extensions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published