Module: WebpackManifestPlugin

Defined in:
lib/webpack_manifest_plugin.rb,
lib/webpack_manifest_plugin/engine.rb,
lib/webpack_manifest_plugin/version.rb,
lib/webpack_manifest_plugin/view_helpers.rb,
lib/webpack_manifest_plugin/configuration.rb

Overview

Convenience methods to configurations.

Defined Under Namespace

Modules: ViewHelpers Classes: Configuration, Engine

Constant Summary collapse

VERSION =
'0.1.2'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



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

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.app_rootObject



29
30
31
# File 'lib/webpack_manifest_plugin.rb', line 29

def self.app_root
  WebpackManifestPlugin.configuration.app_root
end

.configure {|configuration| ... } ⇒ Object

Yields:



21
22
23
# File 'lib/webpack_manifest_plugin.rb', line 21

def self.configure
  yield configuration
end

.loggerObject



25
26
27
# File 'lib/webpack_manifest_plugin.rb', line 25

def self.logger
  WebpackManifestPlugin.configuration.logger
end