1.1.1 • Published 2 years ago

minify-html-literals-loader v1.1.1

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

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.