webpack-blocks-more ·
Just a few blocks that 📦webpack-blocks is missing.
Designed to be used with webpack@3+
and webpack-blocks@1+
.
Table of Content
API
watch([options])
Watch mode.
Arguments
[options]
(Object): SeewatchOptions
for available properties.
parser([options])
Parser options.
Arguments
[options]
(Boolean|Object): SeeRule.parser
Example
const createConfig = ;const parser = ; moduleexports = ;
babel([options])
Arguments
[options]
(Object):babel-loader
options.
Example
const createConfig match = ;const thread babel = ; moduleexports = ;
image([options])
Arguments
[options]
(Object):image-webpack-loader
options.
Example
const createConfig match = ;const file = ;const image = ; moduleexports = ;
postcss([options])
Arguments
[options]
(Object):postcss-loader
options.
Example
const createConfig match = ;const file css = ;const extract postcss = ; moduleexports = ;
stylus([options])
Arguments
[options]
(Object):stylus-loader
options.
Example
const createConfig match = ;const file css = ;const extract stylus = ; moduleexports = ;
extract([options])
Arguments
[options]
(Object):extract-loader
options.
Example
const createConfig match = ;const file css = ;const extract = ; moduleexports = ;
thread([options])
Arguments
[options]
(Object):- all
thread-loader
options. warmupModules
(Array): an array of modules to prewarm.
- all
Example
const createConfig match = ;const babel = ;const thread = ; moduleexports = ;