Skip to content

Commit

Permalink
Correct merge of css files with source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
j0tunn committed Aug 14, 2015
1 parent f7a0385 commit 0d4aa86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"vow": "~0.3.9",
"vow-fs": "~0.2.2",
"worker-farm": "1.3.1",
"enb-source-map": "1.5.0"
"enb-source-map": "1.7.0"
},
"devDependencies": {
"bh": "0.1.14",
Expand Down
3 changes: 1 addition & 2 deletions techs/file-merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ module.exports = require('../lib/build-flow').create()

///
function joinWithSourceMaps(fileNames, contents, divider, target) {
var withSourceMaps = true;
var targetFile = new File(target, withSourceMaps);
var targetFile = new File(target, {sourceMap: true, comment: 'block'});

fileNames.forEach(function (file, i) {
targetFile.writeFileContent(file, contents[i]);
Expand Down

0 comments on commit 0d4aa86

Please sign in to comment.