🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

minify-html-literals-loader

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minify-html-literals-loader

Webpack loader wrapper of minify-html-literals

1.1.1
latest
Source
npm
Version published
Weekly downloads
1.5K
-18.22%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

minify

FAQs

Package last updated on 29 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts