1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 04:00:03 +02:00
2019-04-15 15:42:39 +02:00
2019-04-15 10:35:12 +02:00
2019-04-15 10:46:59 +02:00
2019-03-29 15:56:41 +01:00
2019-04-15 10:35:12 +02:00
2019-03-29 15:58:12 +01:00
2019-03-29 15:57:55 +01:00
2019-04-15 15:42:39 +02:00
2019-04-15 10:35:12 +02:00
2019-04-15 10:47:17 +02:00
2019-04-15 12:09:09 +02:00

minifyfromhtml

This little helper minifies scripts and css starting from an html file. I made it after asking this question on stackoverflow: https://stackoverflow.com/questions/50188269/minify-js-and-css-in-one-go-starting-from-html/

Quickstart

npm i git+https://github.com/S2-/minifyfromhtml.git#semver:1.x
node node_modules\minifyfromhtml\minifyfromhtml.js --js=dist.js --css=dist.css < index.html

=>

css/mywidget.css -> dist.css
js/jquery.js -> dist.js
js/spectacularwidget.js -> dist.js
Description
No description provided
Readme 24 MiB
Languages
JavaScript 74.7%
HTML 21.4%
CSS 3.9%