Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

parcel-transformer-minify-literals

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parcel-transformer-minify-literals

Minify html, css literals for ParcelJS

latest
npmnpm
Version
1.0.10
Version published
Weekly downloads
15
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Literals minifier for Parcel

Libs like Lit using string literals to template code. Parcel by default don't minify this cases.

Under the hood used minify-literals from Henry Gressmann

Usage example

.parcelrc


{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.{js,mjs,jsm,jsx,es6,cjs,ts,tsx}": ["parcel-transformer-minify-literals", "..."]
  }
}

Keywords

parcel minify literals

FAQs

Package last updated on 24 Jan 2023

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