From eef002f2b7fc57edaaea13498d01f14db7696f7d Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 14 Jun 2017 17:15:39 +0200 Subject: [PATCH] Build fix --- src/lodash.noconflict.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lodash.noconflict.js b/src/lodash.noconflict.js index 75df7e515..2f889bcc9 100644 --- a/src/lodash.noconflict.js +++ b/src/lodash.noconflict.js @@ -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. *