makestatic-preset-optimize

1.2.8 • Public • Published

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

Package Sidebar

Install

npm i makestatic-preset-optimize

Weekly Downloads

2

Version

1.2.8

License

MIT

Last publish

Collaborators

  • muji
  • tmpfs