1.2.0 • Published 9 years ago

mako-html v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

mako-html

A plugin bundle for parsing HTML files for other front-end asset dependencies.

npm version npm dependencies npm dev dependencies

Purpose

Parses HTML using deps-html, adding external resources to the dependency tree. Currently, the supported resources include:

  • scripts (via script[src])
  • stylesheets (via link[rel="stylesheet"])
  • images (via img[src])

This plugin only adds the aforementioned files to the dependency tree, the rest of the build logic is deferred to other plugins, such as mako-js and mako-css.

API

html(options)

Initializes the plugin, available options include:

  • images whether or not to process image dependencies (default: true)
  • stylesheets whether or not to process stylesheet dependencies (default: true)
  • scripts whether or not to process script dependencies (default: true)
1.2.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.0.1

10 years ago