Module: Webpacker

Extended by:
Webpacker
Included in:
Webpacker
Defined in:
lib/webpacker.rb,
lib/webpacker/runner.rb,
lib/webpacker/version.rb,
lib/webpacker/webpack_runner.rb,
lib/webpacker/dev_server_runner.rb

Defined Under Namespace

Modules: Helper Classes: Commands, Compiler, Configuration, DevServer, DevServerProxy, DevServerRunner, Engine, Instance, Manifest, RakeTasks, Runner, WebpackRunner

Constant Summary collapse

VERSION =

Change the version in package.json too, please! Since this fork and branch originally started from rails/webpacker The git tags collide. As a hacky workaround adding 100 to the patch version. Example:

webpacker-jets 3.2.100 # added 100 to the patch version
webpacker 3.2.0 # original
"3.2.101".freeze

Instance Method Summary collapse

Instance Method Details

#instanceObject



17
18
19
# File 'lib/webpacker.rb', line 17

def instance
  @instance ||= Webpacker::Instance.new
end

#instance=(instance) ⇒ Object



13
14
15
# File 'lib/webpacker.rb', line 13

def instance=(instance)
  @instance = instance
end