1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 20:00:05 +02:00

2 Commits

Author SHA1 Message Date
s2
7e88906795 1.3.0 2020-02-12 12:09:26 +01:00
s2
325ec064b9 throw on unhandled exceptions 2020-02-12 12:09:07 +01:00
3 changed files with 4 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ let jsdom = require('jsdom');
let JSDOM = jsdom.JSDOM;
let minify = require('minify');
process.on('unhandledRejection', up => { throw up; });
let usage = `usage:
minifyfromhtml --js=<output js file> --css=<output css file> --exclude=<exclude files> < <input file>

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "minifyfromhtml",
"version": "1.2.1",
"version": "1.3.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "minifyfromhtml",
"version": "1.2.1",
"version": "1.3.0",
"description": "minify scripts and css starting from an html file",
"main": "minifyfromhtml.js",
"scripts": {