Class: Jets::Commands::WebpackerTemplate
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Jets::Commands::WebpackerTemplate
- Includes:
- Thor::Actions
- Defined in:
- lib/jets/commands/webpacker_template.rb
Overview
These commands are ran after rake webpacker:install to enhance the generated javascript assets to support Jets. Done this way so it works for both jets new and jets webpacker:install
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#reapply_templates ⇒ Object
15 16 17 |
# File 'lib/jets/commands/webpacker_template.rb', line 15 def reapply_templates directory "app/javascript", "app/javascript", force: [:force]#, bootstrap: options[:bootstrap] end |