Optimize Preset
Preset plugin configuration for the optimize phase
Configures the optimize lifecycle phase with standard plugins.
Install
yarn add makestatic-preset-optimize
API
preset
preset(options)
Configures standard plugins for the optimize lifecycle phase.
Plugins are configured with sensible default values but you can override the configuration when necessary.
-
options
Object plugin options.
Options
-
test
Object map of file test patterns. -
html
Object options for theoptimize-html
plugin. -
css
Object options for theoptimize-css
plugin. -
js
Object options for theoptimize-js
plugin. -
image
Object options for theoptimize-image
plugin. -
inline
Object options for inline script and style compression. -
exclude
Object map of excludes.
See Also
License
MIT
Created by mkdoc on March 12, 2017