0.0.14 • Published 6 years ago

webpack-universal-helpers v0.0.14

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

webpack-universal-helpers · npm

Just a few helpers for building universal apps with webpack.

Designed to be used with webpack@3.

Table of Content

CLI

webpack-universal

Arguments

  1. bundle (String): Path to bundle to start.
  2. [config] (String): Defaults to webpack.config.js.
  3. [cwd] (String)
  4. [hot] (Boolean): Defaults to false.

API

nodeExternals(options)

Arguments

  1. 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 to module => 'commonjs' + module.
    • [includeAbsolutePaths] (Booldean): Defaults to false.

watchServer(options)

Arguments

  1. options (Object):
    • webpackConfig (String)
    • bundlePath (String)
    • cwd (String)
    • hot (Boolean)

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago