Permalink
Browse files

add source url support when in --dev mode

  • Loading branch information...
tj committed Dec 4, 2012
1 parent 2253401 commit ef85f97339a8aaa58b5976a45eb9bbca38fa99e5
Showing with 7 additions and 2 deletions.
  1. +6 −1 bin/component-build
  2. +1 −1 package.json
View
@@ -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){
View
@@ -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",

0 comments on commit ef85f97

Please sign in to comment.