0.1.2 • Published 8 years ago

htmlts-loader v0.1.2

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

ES6 template strings HTML minifier for webpack

Version npm

htmlts-loader minify HTML string using minimize, designed to preprocess ES6 template string wrapped with `html\n and \n`.

This idea is inspired by github markdown syntax highlighting language identifier.

Minify this:

const x = `html
<div class="app">
  <a>${link}</a>
</div>
`

to this:

const x = `<div class=app><a>${link}</a></div>`
0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago