change webpack libraryTarget to umd

This commit is contained in:
Iuri Matias 2017-07-03 19:10:32 -04:00
parent 0991a87b73
commit 9b98980efd
2 changed files with 593 additions and 557 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,9 @@
module.exports = {
entry: './js/embark.js',
output: {
libraryTarget: 'var',
libraryTarget: 'umd',
library: 'EmbarkJS',
path: './js/build',
path: __dirname + '/js/build',
filename: 'embark.bundle.js'
}
};