lib/webpacker/instance.rb in shakapacker-6.3.0.pre.rc.1 vs lib/webpacker/instance.rb in shakapacker-6.3.0
- old
+ new
@@ -17,9 +17,13 @@
config_path: config_path,
env: env
)
end
+ def strategy
+ @strategy ||= Webpacker::CompilerStrategy.from_config
+ end
+
def compiler
@compiler ||= Webpacker::Compiler.new self
end
def dev_server