minifier
minifier copied to clipboard
A simple tool for minifying CSS/JS without a big setup
``` @font-face { font-family: 'Nexa Light'; src: url('font/Nexa Light.otf'); } ``` becomes ``` @font-face{font-family:'Nexa Light';src:url(font/Nexa Light.otf)} ``` It should be ``` @font-face{font-family:'Nexa Light';src:url('font/Nexa Light.otf')} ^^^^^^^^^^^^^^^^^^^^^ ```
If I try to minify a script including an arrow function like this: Object.keys(obj).forEach(key => { data[obj[key].name] = obj[key].value; }); I get an `undefined:1553 throw new JS_Parse_Error(message, filename, line, col,...
NOTE: I was not sure how to get in contact with you @fizker , so i created this issue. If this is out of the scope of the project, or...
`> npm install minifier /home/gachl └── [email protected] npm WARN enoent ENOENT: no such file or directory, open '/home/gachl/package.json' npm WARN gachl No description npm WARN gachl No repository field. npm...
can you ignore files?