Skip to content

Commit

Permalink
fix uglify-js
Browse files Browse the repository at this point in the history
  • Loading branch information
陈建镔 committed Nov 5, 2013
1 parent 53426db commit 00934d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builder/javascript.js
Expand Up @@ -66,7 +66,7 @@ function builder (id, content, minify) {
content = 'define("' + id + '", ' + deps + ', function (require, exports, module) {\n' + content + '\n})';

if (minify) {
return require('uglifyjs').minify(content, {fromString: true}).code;
return require('uglify-js').minify(content, {fromString: true}).code;
}

return content;
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "grunt-crane",
"description": "static file builder set",
"version": "0.2.2",
"version": "0.2.3",
"homepage": "https://github.com/j1anb1n/grunt-crane",
"author": {
"name": "j1anb1n",
Expand Down

0 comments on commit 00934d5

Please sign in to comment.