Skip to content

Commit

Permalink
add source url support when in --dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Dec 4, 2012
1 parent 2253401 commit ef85f97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion bin/component-build
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ var start = new Date;

// --dev

if (program.dev) builder.development();
if (program.dev) {
builder.development();
builder.addSourceURLs();
}

// build

if (program.verbose) console.log();
builder.build(function(err, obj){
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"commander": "1.0.5",
"mkdirp": "0.3.4",
"superagent": "0.10.0",
"component-builder": "0.4.2",
"component-builder": "0.5.0",
"string-to-js": "0.0.1",
"jog": "0.4.0",
"batch": "0.2.1",
Expand Down

0 comments on commit ef85f97

Please sign in to comment.