minify-html-literals-loader

1.1.1 • Public • Published

minify-html-literals-loader

Webpack loader wrapper of minify-html-literals. Loader can be placed anywhere in rule of file processing, with one exception: if you transpile to ES5, loader must be placed before.

Installation

npm install minify-html-literals-loader --save-dev

Usage

module: {
  rules: [{
    test: /\.(js|jsx|ts|tsx)$/,
    use: [
      {
        loader: 'minify-html-literals-loader'
      }
    ]
  }]
}

Options are passed to minify-html-literals as described here.

Package Sidebar

Install

npm i minify-html-literals-loader

Weekly Downloads

1,102

Version

1.1.1

License

MIT

Unpacked Size

1.53 kB

Total Files

4

Last publish

Collaborators

  • andrewlevada