class Hippo::Command::Webpack
Attributes
config[RW]
webpack[R]
wpd_config[R]
Public Instance Methods
launch()
click to toggle source
# File lib/hippo/command/webpack.rb, line 25 def launch @webpack = Hippo::Webpack.new end
set_production_env()
click to toggle source
# File lib/hippo/command/webpack.rb, line 20 def set_production_env ext = Command.load_current_extension Hippo.config.environment = :production if options[:compile] end
startup()
click to toggle source
# File lib/hippo/command/webpack.rb, line 29 def startup process = webpack.process process.start process.wait end