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:
Nico Rehwaldt 2014-03-17 11:12:26 +01:00
parent 1d46d915d1
commit ee83bf9c9c
1 changed files with 2 additions and 1 deletions

View File

@ -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: {