Permalink
Browse files

Merge pull request #554 from kazupon/fix/autorequire

Fix require automatically, closes #554
  • Loading branch information...
2 parents d92e91c + b4656df commit 76db52aeeefb10b949bd72f3d1d64f89b32da927 @clintwood clintwood committed Jun 23, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/component-build
View
@@ -13,6 +13,7 @@ program
.option('-d, --dev', 'build development dependencies, use aliases, and use sourceURLs')
.option('-s, --standalone <name>', 'build a standalone, UMD-wrapped version of the component with the given global name')
.option('-R, --no-require', 'exclude require from build')
+ .option('-a, --no-auto', 'not require automatically')
.option('-p, --prefix <str>', 'prefix css asset urls with <str>', '')
.option('-b, --browsers <string>', 'browsers to support with autoprefixer')
.option('-c, --copy', 'copy files instead of linking')
@@ -103,6 +104,7 @@ var options = {
install: true,
verbose: true,
require: program.require,
+ autorequire: program.auto,
umd: program.standalone || program.umd || '',
prefix: program.prefix || '',
browsers: program.browsers || '',

0 comments on commit 76db52a

Please sign in to comment.