From 2983f685512fb0ca09399cbf9c05f13dbe7b7773 Mon Sep 17 00:00:00 2001 From: s2 Date: Sat, 5 May 2018 16:42:53 +0200 Subject: [PATCH] readme --- README.md | 8 ++++++++ example/dist/index.html | 24 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 README.md create mode 100644 example/dist/index.html diff --git a/README.md b/README.md new file mode 100644 index 0000000..6ef8a2f --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# 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/ + +It takes an input html file, parses it, and outputs all included javascript and css files minified to a file you specify: +``` +minifyfromhtml --js= --css= < +``` diff --git a/example/dist/index.html b/example/dist/index.html new file mode 100644 index 0000000..99b623c --- /dev/null +++ b/example/dist/index.html @@ -0,0 +1,24 @@ + + + + + + + Example + + + + + + + + +
+ + + + +