https://github.com/pinussilvestrus/camunda-modeler-webpack-plugins
Webpack plugins to easily configure Camunda Modeler extensions.
https://github.com/pinussilvestrus/camunda-modeler-webpack-plugins
camunda-modeler camunda-modeler-plugin webpack webpack-plugin
Last synced: about 2 months ago
JSON representation
Webpack plugins to easily configure Camunda Modeler extensions.
- Host: GitHub
- URL: https://github.com/pinussilvestrus/camunda-modeler-webpack-plugins
- Owner: pinussilvestrus
- License: mit
- Created: 2022-02-10T14:29:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T09:47:31.000Z (about 3 years ago)
- Last Synced: 2025-04-05T02:24:51.980Z (about 1 year ago)
- Topics: camunda-modeler, camunda-modeler-plugin, webpack, webpack-plugin
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
> This project is deprecated. Please head over to [camunda/camunda-modeler-webpack-plugin](https://github.com/camunda/camunda-modeler-webpack-plugin) to use the current version.
# camunda-modeler-webpack-plugins
[](https://github.com/pinussilvestrus/camunda-modeler-webpack-plugins/actions?query=workflow%3ACI)
Webpack plugins to easily configure Camunda Modeler extensions.
## Installation
```sh
npm i --save-dev camunda-modeler-webpack-plugins
```
## Usage
Add a plugin to your webpack config. For example to configure a React client extension:
```js
const ClientExtensionWebpackPlugin = require("camunda-modeler-webpack-plugins").ClientExtensionWebpackPlugin;
module.exports = {
plugins: [
new ClientExtensionWebpackPlugin()
]
};
```
or a properties panel extension:
```js
const PropertiesPanelWebpackPlugin = require("camunda-modeler-webpack-plugins").PropertiesPanelWebpackPlugin;
module.exports = {
plugins: [
new PropertiesPanelWebpackPlugin()
]
};
```
## Configuration
You can pass configuration options to the plugins:
```js
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
* [Camunda Modeler plugins documentation](https://github.com/camunda/camunda-modeler/tree/master/docs/plugins#plugging-into-the-camunda-modeler)
* [Camunda Modeler plugin helpers](https://github.com/camunda/camunda-modeler-plugin-helpers)
## License
MIT