0.0.14 • Published 7 years ago
webpack-universal-helpers v0.0.14
webpack-universal-helpers · 
Just a few helpers for building universal apps with webpack.
Designed to be used with webpack@3.
Table of Content
CLI
webpack-universal
Arguments
bundle(String): Path to bundle to start.[config](String): Defaults towebpack.config.js.[cwd](String)[hot](Boolean): Defaults tofalse.
API
nodeExternals(options)
Arguments
options(Object):[pathToPackageJson](String)[packageJsonSections](Array\<String>): Defaults to['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'].[pathToNodeModules](String)[excludeNodeModulesDirs](Function|Array\<String>|Regex|String)[whitelistModules](Function|Array\<String>|Regex|String)[createImport](Function): Defaults tomodule => 'commonjs' + module.[includeAbsolutePaths](Booldean): Defaults tofalse.
watchServer(options)
Arguments
options(Object):webpackConfig(String)bundlePath(String)cwd(String)hot(Boolean)