feat: pre-compile babel when used in production

This commit is contained in:
Blade Barringer
2016-03-03 18:25:01 -06:00
parent 8c6d8163bc
commit 9447a6ce10
8 changed files with 38 additions and 11 deletions

7
common/browserify.js Normal file
View File

@@ -0,0 +1,7 @@
var shared = require('./script/index');
var _ = require('lodash');
var moment = require('moment');
window.habitrpgShared = shared;
window._ = _;
window.moment = moment;