This project is deprecated. Please head over to camunda/camunda-modeler-webpack-plugin to use the current version.
Webpack plugins to easily configure Camunda Modeler extensions.
npm i --save-dev camunda-modeler-webpack-plugins
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()
]
};
You can pass configuration options to the plugins:
plugins: [
new ClientExtensionWebpackPlugin({
loader: false
})
]
Name | Default | Description |
---|---|---|
alias |
true | Append React alias configuration |
loader |
true | Append babel-loader configuration (requires @babel/core dependency) |
Name | Default | Description |
---|---|---|
alias |
true | Append Properties Panel alias configuration |
loader |
true | Append babel-loader configuration (requires @babel/core dependency) |
MIT