Legend-of-iPhoenix / cemetech-userstyle

iPhoenix's Spiffy Cemetech Userstyle
MIT License
9 stars 4 forks source link

How to minify/package #19

Closed mateoconlechuga closed 3 years ago

mateoconlechuga commented 3 years ago

How do I minify/package?

Legend-of-iPhoenix commented 3 years ago

Extension code is loaded from your computer (fast) instead of over network (slow), so there's no benefit at all from doing this.

Legend-of-iPhoenix commented 3 years ago

If you really need it in one file for some reason just cat src/*.js > all.js and there's your packaged js file

mateoconlechuga commented 3 years ago

But how do I minify?

adriweb commented 3 years ago

probably with a minifier

mateoconlechuga commented 3 years ago

what's that

KryptonicDragon commented 3 years ago

It's like one of those emails that promises to enlarge stuff for you, but the opposite

Legend-of-iPhoenix commented 3 years ago

https://developers.google.com/closure/compiler https://github.com/terser/terser but still there's no point for an extension

I'm really, really confused about why you want this.

adriweb commented 3 years ago

Yeah closure compiler is good (online version https://closure-compiler.appspot.com/home )