Skip to content
#

minify

Here are 1,403 public repositories matching this topic...

boopathi
boopathi commented Feb 20, 2017

Validate the entire tree of options passed to preset.

Maybe, each plugin can export a list of options that only babili preset understands and we can validate them only when using the preset and not when using the plugin separately.

module.exports = function plugin() {};
module.exports.options = PropTypes.object({
  n: PropTypes.number
});

Or, this can be implemented in bab

Improve this page

Add a description, image, and links to the minify topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the minify topic, visit your repo's landing page and select "manage topics."

Learn more