fix(build/browserify): do not include global vars
This allows us to create smaller builds by NOT including common NodeJS variables (Buffer, __filename, __dirname, ...).
This commit is contained in:
parent
1d46d915d1
commit
ee83bf9c9c
|
@ -60,7 +60,8 @@ module.exports = function(grunt) {
|
|||
'<%= config.sources %>/main.js:bpmn',
|
||||
'<%= config.sources %>/Model.js:bpmn/Model',
|
||||
'<%= config.sources %>/Diagram.js:bpmn/Diagram'
|
||||
]
|
||||
],
|
||||
insertGlobalVars: []
|
||||
},
|
||||
sources: {
|
||||
files: {
|
||||
|
|
Loading…
Reference in New Issue