kangax/fabric.js — pull request #1047 by nickyout (2013-12-12 14:57:07+00:00)
Title: build.js with argument 'dest' to specify a path other than 'dist/'

I would like to be able to specify a path where node build.js would build into. If I understand build.js correctly, there is no way other than to just change the hard coded 'dist/' into something else.

I noticed that the build script will execute succesfully when called from another folder, and will output the files relative to that folder. But I did not want to be bound to the 'dist/' that will still have to be the last folder.

So I created the option to provide a custom destination path in the same style as the custom minifier.