Is it possible to have multiple 'standalone':s?
tomsoderlund opened this issue · comments
I'm trying to define two standalone
:s in my Gruntfile:
browserify: {
options: {
transform: [['babelify', {
presets: ['env']
}]],
},
// The below standalone 'xp' IS available on window (window.xp)
crossplatform: {
src: ['crossplatform/index.js'],
dest: 'app/scripts/crossplatform.js',
options: {
browserifyOptions: {
standalone: 'xp'
},
}
},
// The below standalone 'myLib' is NOT available on window (window.myLib)
myLib: {
src: ['scripts/common/redux/index.js'],
dest: 'app/scripts/myLib.js',
options: {
browserifyOptions: {
standalone: 'myLib'
},
}
},
},
Only the first one works, is it possible to have two or more?