Ml5-library: Any way to download the non minified library?

Created on 17 Aug 2018  路  6Comments  路  Source: ml5js/ml5-library

Is there any way to download the full ml5 library as a non minified .js file?
https://raw.githubusercontent.com/ml5js/ml5-library/master/dist/ml5.js returns a 404

enhancement feature request good first issue

Most helpful comment

Hi I'm re-opening this issue. I don't think it needs to be the default or included in the examples, but I think we should publish a non-minified version as well? When debugging it can be really hard to follow a stack trace in the minified file, I'd love to be able to quickly just switch to the following from time to time? This has come up when looking at errors with students and not wanting to clone the whole ml5 repo and rebuild the library.

      <script src="https://unpkg.com/[email protected]/dist/ml5.js"></script>

All 6 comments

We are just providing the minified version.
Any particular case you want it not minified?

Just had a student at a workshop who wanted to potentially alter something in the word2vec code, but I think he found a workaround :). Feel free to close, but perhaps remove the link to the "full" lib in the readme, since the link is dead.

Great. thanks for the tip! Just removed it in https://github.com/ml5js/ml5-library/pull/207

Hi I'm re-opening this issue. I don't think it needs to be the default or included in the examples, but I think we should publish a non-minified version as well? When debugging it can be really hard to follow a stack trace in the minified file, I'd love to be able to quickly just switch to the following from time to time? This has come up when looking at errors with students and not wanting to clone the whole ml5 repo and rebuild the library.

      <script src="https://unpkg.com/[email protected]/dist/ml5.js"></script>

Agreed with @shiffman - also potentially useful in debugging issues with the library itself. Have caught a couple mysterious things that would be useful to test before making a pull request or github issue. I actually think one of the issues I'm experiencing is caused by the minification itself, as I built my own non-minified version of the library.

BTW, I'm happy to provide that via a forked repo, or do a PR for the build command and webpack file that produces the unminified version - just wasn't sure if you wanted that out there in the world.

Closed with https://github.com/ml5js/ml5-library/pull/811

This will be part of the next release!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joeyklee picture joeyklee  路  5Comments

dianebecheras picture dianebecheras  路  6Comments

bmoren picture bmoren  路  8Comments

joeyklee picture joeyklee  路  3Comments

shiffman picture shiffman  路  5Comments