Hi!
> Nico,
> It would be great if you could describe in the amber documentation best
> practise for deployment.
Yes, that's planned as part of the new documentation effort :)
> There are three sets of files: amber code, own packages and third-party
> javascript libraries.
> Would it make sense to create with grunt a concatenated and minified package
> for these three set of packages?
Yes, if you like grunt, it can be a very good way to create the
deployment file.
>
> In the past the approach was to create single javascript file, combining
> amber and own packages into one file. With AMD single file is no longer the
> preferred option. Please comment.
As I replied in another thread, using r.js from requirejs.org is IMHO
the best way to create the deployment file, it will also minify it for
you using uglify.js. The only thing that I'd like to see in Amber's IDE
is an automated way to commit packages with comments and source code
stripped.
Hope this helps,
Nico
>
>
>
>
> --
> View this message in context:
http://forum.world.st/Best-practices-tp4736458p4740930.html> Sent from the Amber Smalltalk mailing list archive at Nabble.com.
--
Nicolas Petton
http://nicolas-petton.fr--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
For more options, visit
https://groups.google.com/groups/opt_out.