[Build] Respect shim config when optimizing

This commit is contained in:
Victor Woeltjen 2016-01-28 15:23:37 -08:00
parent fcfb3eebda
commit 5b0ee8588c

View File

@ -45,7 +45,8 @@ var gulp = require('gulp'),
options = {
requirejsOptimize: {
name: paths.main.replace(/\.js$/, ''),
mainConfigFile: paths.main
mainConfigFile: paths.main,
wrapShim: true
},
karma: {
configFile: path.resolve(__dirname, 'karma.conf.js'),