diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-11-13 11:09:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 11:09:49 -0500 |
commit | 30857f9c8b671d71550ccd126fcbc9d548a22ff3 (patch) | |
tree | 456537bf74d5f1a757438c817d1afb277ec79cb0 | |
parent | 9175dd2e2b917d17434bf127381d8f69106aa071 (diff) | |
parent | 0d90d1e019bd0cfb9dbb9c7e463de32bf87387d6 (diff) | |
download | rails-30857f9c8b671d71550ccd126fcbc9d548a22ff3.tar.gz rails-30857f9c8b671d71550ccd126fcbc9d548a22ff3.tar.bz2 rails-30857f9c8b671d71550ccd126fcbc9d548a22ff3.zip |
Merge pull request #34435 from coorasse/master
Add an alias for the --webpack option
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index f56f79b8d4..33002790d4 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -258,8 +258,8 @@ module Rails class_option :skip_bundle, type: :boolean, aliases: "-B", default: false, desc: "Don't run bundle install" - class_option :webpack, type: :string, default: nil, - desc: "Preconfigure Webpack with a particular framework (options: #{WEBPACKS.join('/')})" + class_option :webpack, type: :string, aliases: "--webpacker", default: nil, + desc: "Preconfigure Webpack with a particular framework (options: #{WEBPACKS.join(", ")})" class_option :skip_webpack_install, type: :boolean, default: false, desc: "Don't run Webpack install" |