New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@liamnewmarch/static-plugin-html-minifier

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liamnewmarch/static-plugin-html-minifier

Static plugin to add support for HTMLMinifier

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

HTMLMinifier plugin for Static

This plugin adds HTMLMinifier support to Static.

Usage

First, install Static and this plugin

npm install @liamnewmarch/static @liamnewmarch/static-plugin-html-minifier

Next add the plugin in your static.config.js

import minifier from '@liamnewmarch/static-plugin-html-minifier';

export default {
  // Other Static options here (optional)
  plugins: [
    minifier({
      // Plugin options here (optional)
    }),
  ],
}

Options

The HTMLMinifier plugin is a function which can take an optional options object. See the HTMLMinifier options quick reference.

Keywords

static

FAQs

Package last updated on 04 May 2020

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