Permalink
Browse files

Fix require automatically

  • Loading branch information...
1 parent 8bf2198 commit b4656df09eb881971df292e8e160b301b6500a9a @kazupon kazupon committed Apr 19, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/component-build
View
@@ -12,6 +12,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')
@@ -98,6 +99,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 b4656df

Please sign in to comment.