Message from JavaScript discussions

November 2017

— There's the makefile for one of them

— 

It's actually quite funny haha, I crammed testing, linting, minifying etc... into a single file like that. It just snags NPM packages and Github repos into the build directory and uses them locally

— And I haven't found it harder than Grunt/Gulp or Webpack at all... in fact it's too simple to get wrong most of the time

Message permanent page

— If you know Bash, you can use GNU Make :)

— Heh

— Why use uglify over the others?

— JustPickOne mentality?

— Meh, I chose whichever was most available

— It does

node_modules/uglify-es/bin/uglifyjs -b -o prod-build/dist/differentia.js src/differentia.js
node_modules/uglify-es/bin/uglifyjs -o prod-build/dist/differentia.min.js src/differentia.js

which is -b for beautify, and the other does a minify

Message permanent page

— Heh, nice

— Well, closure compiler does black magic it seems

— I'd like to add versioning too