mobifyjs
mobifyjs copied to clipboard
Latest version of mobify.js somewhat minified?
The latest mobify.js on Github is partially minified. Are you guys sure this is a version for human eyes? It seems that you've just decided to not use almond.js, though.
@zrw354 I actually never noticed that :). We moved away from Almond.js and went with Browserify. Seems like the loader they insert comes in minified. Adding to my TODO list to check if we can get that snippet unminified. Did a quick googling and couldn't figure it out right away - seems like someone has a similar complaint though: https://github.com/substack/node-browserify/issues/623
Hi jansepar,
Thanks for the quick response.
I forked mobify/mobifyjs last week, with mobify.js being the version based on almond.js. I'd like to catch up with your latest version.
Regards, zrw354
Cool, feel free to rebase what's in the v2.0 branch!
@jansepar you can provide an opts.prelude
(and opts.preludePath
, for sourcemaps) to browserify's API that accepts a string version of the prelude. The repo (and the package) of browser-pack
includes the unminified source.
I do not know if you can provide custom options to grunt-browserify
very easily, but I'll leave that to you. :sparkles: