Skip to content

andrewlevada/minify-html-literals-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minify-html-literals-loader

npm npm GitHub code size in bytes

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.

About

Webpack loader wrapper of minify-html-literals

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published