Open camtauxe opened 6 years ago
I created a pull request #10 to fix this issue. When you make it concatenates all the files. The *.min.js file is just the concatonated version. You can still call the following to actually minify it:
make minify
I'm re-opening this issue because not minifying the code is really just a work-around, but the core issue of babel-minify not working is still present.
As another work-around, I made it so that it is possible to override what minify-ing tool is used on a particular person's machine. By default, it will use babel-minify, but if you have a file called 'minifier.local' in your working directory (ignored by git) then it will instead use the tool specified there.
I am unable to build the library using the makefile. I get the following error on my computer.
Ideally, we should find a better solution for minify-ing the code as having to install nodejs, npm and babel-minify just to build the project is pretty absurd. Perhaps it would be best to forego minify-ing altogether and simply concatenate the source files together because at least that won't require any dependencies.