Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swc-minify-lits

A plugin for SWC for minifying HTML and CSS template literals via lightningcss and minify-html.

Works with both tagged and untagged template literals.

Configuration Options

Name Description Default Value
minifyCss Should the plugin minify CSS literals? true
minifyHtml Should the plugin minify HTML literals? true
minifyCssInHtml Passed to minify-html to minify <style>... and style=... within HTML. false
minifyJsInHtml Passed to minify-html to minify <script>... within HTML. false
keepHtmlComments Keep comments in HTML? false

About

A plugin for SWC providing minification of HTML and CSS template literals.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages