mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
feat: pre-compile babel when used in production
This commit is contained in:
7
common/browserify.js
Normal file
7
common/browserify.js
Normal file
@@ -0,0 +1,7 @@
|
||||
var shared = require('./script/index');
|
||||
var _ = require('lodash');
|
||||
var moment = require('moment');
|
||||
|
||||
window.habitrpgShared = shared;
|
||||
window._ = _;
|
||||
window.moment = moment;
|
||||
Reference in New Issue
Block a user