Package Exports
- bpmnlint-loader
- bpmnlint-loader/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 (bpmnlint-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
bpmnlint-loader
Consume bpmnlint config files with webpack.
import { Linter } from 'bpmnlint';
import linterConfig from './.bpmnlintrc';
const linter = new Linter(linterConfig);Installation
npm i bpmnlint-loader -DUsage
Configure the loader in your webpack.config.js.
module.exports = {
// ...
module: {
rules: [
{
test: /\.bpmnlintrc$/,
use: [
{
loader: 'bpmnlint-loader',
}
]
}
]
}
};This will ensure that bpmnlint configuration files can be consumed by your build.
License
MIT