makestatic-preset-parse v1.0.23
Parse Preset
Preset plugin configuration for the parse phase
Configures the parse lifecycle phase with standard plugins.
Install
yarn add makestatic-preset-parseAPI
preset
preset(options)Configures standard plugins for the parse lifecycle phase.
Plugins are configured with sensible default values but you can override the configuration when necessary.
This preset will enable parsers for HTML, CSS and Javascript files but if
you specify the corresponding option as false you can disable specific
parsers.
If the exclude map option is given you can assign to the relevant parser
plugins using the html, css and js properties.
optionsObject plugin options.
Options
testObject map of file test patterns.htmlObject options for theparse-htmlplugin.cssObject options for theparse-cssplugin.jsObject options for theparse-jsplugin.excludeObject map of excludes.
See Also
License
MIT
Created by mkdoc on March 12, 2017
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago