npm.io
1.2.8 • Published 8 years ago

makestatic-preset-optimize

Licence
MIT
Version
1.2.8
Deps
5
Vulns
0
Weekly
0

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 the optimize-html plugin.
  • css Object options for the optimize-css plugin.
  • js Object options for the optimize-js plugin.
  • image Object options for the optimize-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