Build fix

This commit is contained in:
JC Brand 2017-06-14 17:15:39 +02:00
parent ebc6d1cc62
commit eef002f2b7

View File

@ -1,6 +1,6 @@
/*global define */
define(['lodash'], function (_) {
if (!_.isUndefined(require)) {
if (!_.isUndefined(require) && !_.isUndefined(require.s)) {
/* XXX: This is a hack to make sure that the compiled templates have
* access to the _ object.
*