Skip to content

Commit

Permalink
Merge f80a10d into 54f8c94
Browse files Browse the repository at this point in the history
  • Loading branch information
dingzhiyuan committed May 26, 2016
2 parents 54f8c94 + f80a10d commit 50d3350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = function (options) {
return;
}

var newId = parseId(file.relative)
var newId = (options.idleading?options.idleading:"") + parseId(file.relative)

var newAstSeaModule = {id: oldAstSeaModule.id || newId, dependencies: oldAstSeaModule.dependencies, factory: oldAstSeaModule.factory}

Expand All @@ -92,4 +92,4 @@ module.exports = function (options) {
file.contents = new Buffer(newContent.print_to_string({beautify:true}))

}
}
}

0 comments on commit 50d3350

Please sign in to comment.