Module: Nanoc::Webpack

Defined in:
lib/nanoc/webpack/filter.rb,
lib/nanoc/webpack/version.rb,
lib/nanoc/webpack/spawn.rb,
lib/nanoc/webpack.rb

Overview

Compiles a nanoc item with webpack.

Defined Under Namespace

Modules: Spawn Classes: Filter

Constant Summary collapse

VERSION =
"0.10.6"

Class Method Summary collapse

Class Method Details

.default_argvArray<String>

Returns Default argv for webpack.

Examples:

Nanoc::Webpack.default_argv.concat ["--cache-type", "filesystem"]

Returns:

  • (Array<String>)

    Default argv for webpack



10
11
12
# File 'lib/nanoc/webpack.rb', line 10

def self.default_argv
  Nanoc::Webpack::Filter.default_argv
end