Package Exports
- rollup-plugin-bpmnlint
- rollup-plugin-bpmnlint/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-bpmnlint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rollup-plugin-bpmnlint
Convert bpmnlint config files to consumable modules.
import { Linter } from 'bpmnlint';
import linterConfig from './.bpmnlintrc';
const linter = new Linter(linterConfig);Installation
npm i rollup-plugin-bpmnlint -DUsage
import { rollup } from 'rollup';
import bpmnlint from 'rollup-plugin-bpmnlint';
import nodeResolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
rollup({
input: 'main.js',
plugins: [
nodeResolve(),
commonjs(),
bpmnlint({
// matching .bpmnlintrc files per default
include: '**/.bpmnlintrc',
// undefined per default
exclude: [ ],
// an compiler that transforms a .bpmnlintrc
// file into the actual bpmnlint configuration
compileConfig: null
})
]
});License
MIT