Skip to content

Commit

Permalink
Create local variables for lodash and _ for the shrinkwrap version.
Browse files Browse the repository at this point in the history
This solves an error when requiring the shrinkwrap version in a nodeJs environment.
  • Loading branch information
Amir Tocker committed Mar 22, 2016
1 parent 8476fb5 commit 9b21d81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ module.exports = (grunt)->
require('lodash-cli')([
"include=#{include.join(',')}",
"exports=none",
"iife=var lodash = _ = (function() {%output%; \nreturn lodash;\n}.call(this));",
"--output", "build/lodash-shrinkwrap.js",
"--development"]
, (data)->
Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9b21d81

Please sign in to comment.