Package Exports
- @futuregroup/webpack-custom-blocks
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@futuregroup/webpack-custom-blocks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
webpack-custom-blocks · 
A set of well-thought 📦webpack-blocks for real-world projects.
API
setEnv([options])watch([options])reactHotServer([options])babelLoader([options])cssLoader([options])stylusLoader([options])pugLoader([options])imageLoader([options])fontLoader([options])
setEnv([options])
Sets environmental variables to process.env and EnvironmentPlugin.
Arguments:
[options](Object): Any enumerable properties.
Example:
setEnv({
NODE_ENV: 'development',
HOT: true,
// Any other variables.
})watch([options])
Watch mode.
Arguments:
[options](Object): See watchOptions for available properties.
reactHotServer([options])
Built on top of webpack-dev-server and react-hot-loader@3.
Arguments:
[options](Object): Available properties:[host](String): Defaults tolocalhost.[port](Number|String): Defaults to8080.[publicPath](String|Number): Defaults to'/'. The finaloutput.publicPathwill behttp://${host}:${port}${path}....rest(*): Any validdevServerproperties.
babelLoader([options])
Built on top of babel-loader.
Arguments:
[options](Object): Available properties:[test](*)[fileType](*): Defaults toapplication/javascript. Iftestis also set, then it adds a new fileType, else uses it as an existing one.[exclude](*)[include](*)[babelOptions](Object):babel-loaderoptions.
cssLoader([options])
Built on top of style-loader and css-loader.
Arguments:
[options](Object): Available properties:[test](*)[fileType](*): Defaults totext/css. Iftestis also set, then it adds a new fileType, else uses it as an existing one.[exclude](*)[include](*)[loaders](Array): Defaults to[]. Additional loaders that go aftercss-loader.[styleOptions](Object):style-loaderoptions.[cssOptions](Object):css-loaderoptions.
stylusLoader([options])
Built on top of stylus-loader and extract-loader.
Arguments:
[options](Object): Available properties:[test](*): Defaults to/\.(styl|stylus)$/.[fileType](*): Defaults totext/x-stylus.[exclude](*)[include](*)[fileOptions](Object)[extractOptions](Object)[cssOptions](Object)[stylusOptions](Object)
pugLoader([options])
Build on top of pug-html-loader.
Arguments:
[options](Object): Available properties:[test](*): Defaults to/\.(pug|jade)$/.[fileType](*): Defaults totext/x-pug.[exclude](*)[include](*)[fileOptions](Object)[pugOptions](Object)
imageLoader([options])
Build on top of image-webpack-loader.
Arguments:
[options](Object): Available properties:[test](*)[fileType](*): Defaults toimage.[exclude](*)[include](*)[fileOptions](Object)[imageOptions](Object)
fontLoader([options])
Arguments:
[options](Object): Available properties:[test](*)[fileType](*): Defaults toapplication/font.[exclude](*)[include](*)[fileOptions](Object)