You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, umd places var define,module,exports; at the top of the generated factory function, making it impossible to 'use strict'; for wrapped code.
Would you be open to adding support for this in one way or another? One simple solution could be to add a useStrict property to the options object. I'd be happy to work on a pull request for this, if it's a feature you'd like to add.
The text was updated successfully, but these errors were encountered:
Hey Forbes,
Currently,
umd
placesvar define,module,exports;
at the top of the generated factory function, making it impossible to'use strict';
for wrapped code.Would you be open to adding support for this in one way or another? One simple solution could be to add a
useStrict
property to theoptions
object. I'd be happy to work on a pull request for this, if it's a feature you'd like to add.The text was updated successfully, but these errors were encountered: