chore(distro): align exports with project name
The distribution exports the components via their node-module names. BREAKING CHANGE: require('bpmn/*') -> require('bpmn-js/*') require('bpmn/Model') -> require('bpmn-moddle')
This commit is contained in:
parent
698167783b
commit
e37bddf3a4
22
Gruntfile.js
22
Gruntfile.js
|
@ -90,10 +90,10 @@ module.exports = function(grunt) {
|
|||
alias: [
|
||||
'node_modules/jquery:jquery',
|
||||
'node_modules/lodash:lodash',
|
||||
'node_modules/bpmn-moddle:bpmn/Model',
|
||||
'<%= config.sources %>/main.js:bpmn',
|
||||
'<%= config.sources %>/Viewer.js:bpmn/Viewer',
|
||||
'<%= config.sources %>/Modeler.js:bpmn/Modeler'
|
||||
'node_modules/bpmn-moddle:bpmn-moddle',
|
||||
'<%= config.sources %>/main.js:bpmn-js',
|
||||
'<%= config.sources %>/Viewer.js:bpmn-js/Viewer',
|
||||
'<%= config.sources %>/Modeler.js:bpmn-js/Modeler'
|
||||
],
|
||||
watch: true,
|
||||
keepalive: true
|
||||
|
@ -111,10 +111,10 @@ module.exports = function(grunt) {
|
|||
alias: [
|
||||
'node_modules/jquery:jquery',
|
||||
'node_modules/lodash:lodash',
|
||||
'node_modules/bpmn-moddle:bpmn/Model',
|
||||
'<%= config.sources %>/main.js:bpmn',
|
||||
'<%= config.sources %>/Viewer.js:bpmn/Viewer',
|
||||
'<%= config.sources %>/Modeler.js:bpmn/Modeler'
|
||||
'node_modules/bpmn-moddle:bpmn-moddle',
|
||||
'<%= config.sources %>/main.js:bpmn-js',
|
||||
'<%= config.sources %>/Viewer.js:bpmn-js/Viewer',
|
||||
'<%= config.sources %>/Modeler.js:bpmn-js/Modeler'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -126,9 +126,9 @@ module.exports = function(grunt) {
|
|||
alias: [
|
||||
'node_modules/jquery:jquery',
|
||||
'node_modules/lodash:lodash',
|
||||
'node_modules/bpmn-moddle:bpmn/Model',
|
||||
'<%= config.sources %>/main.js:bpmn',
|
||||
'<%= config.sources %>/Viewer.js:bpmn/Viewer'
|
||||
'node_modules/bpmn-moddle:bpmn-moddle',
|
||||
'<%= config.sources %>/main.js:bpmn-js',
|
||||
'<%= config.sources %>/Viewer.js:bpmn-js/Viewer'
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue