Skip to content

Commit

Permalink
#12 Fix pr notations
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed Sep 8, 2015
1 parent ab16ff4 commit 9681b2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions techs/browser-js.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var vow = require('vow'),
vfs = require('enb/lib/fs/async-fs'),
Utils = require('enb-source-map/lib/utils'),
utils = require('enb-source-map/lib/utils'),
File = require('enb-source-map/lib/file'),
minify = require('uglify-js').minify;

Expand Down Expand Up @@ -90,10 +90,10 @@ module.exports = require('enb/lib/build-flow').create()
}

compressOptions.inSourceMap = file.getSourceMap();
compressOptions.outSourceMap = 'minified.js.map';
compressOptions.outSourceMap = this._target + '.map';

compressed = minify(file.getContent(), compressOptions);
return Utils.joinContentAndSourceMap(compressed.code, compressed.map);
return utils.joinContentAndSourceMap(compressed.code, compressed.map);
}, this);
})
.methods({
Expand Down

0 comments on commit 9681b2b

Please sign in to comment.