Open lukescott opened 9 years ago
When using the bundler I get this:
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('lodash')) : typeof define === 'function' && define.amd ? define(['lodash'], factory) : global.app = factory(global.lodash) }(this, function (lodash) { 'use strict';
But on the "try it now" (single file) I get this:
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('lodash')) : typeof define === 'function' && define.amd ? define(['lodash'], factory) : factory(global._) }(this, function (_) { 'use strict';
global.lodash doesn't exist. Is there any way to tell it to use global._ instead?
global.lodash
global._
When using the bundler I get this:
But on the "try it now" (single file) I get this:
global.lodash
doesn't exist. Is there any way to tell it to useglobal._
instead?