django-require 1.0.1 is out!

20 views
Skip to first unread message

Dave Hall

unread,
Nov 30, 2012, 6:59:25 AM11/30/12
to django-...@googlegroups.com
Hello all,

Version 1.0.1 of django-require has just landed. Key improvements are:
  • Support for running the optimizer using node (much faster).
  • Updating bundled RequireJS to 2.1.2, and almond 0.2.1.
If you have node installed on your build system, then it's well worth setting your REQUIRE_ENVIRONMENT setting to "node" in order to take advantage of the impressive speed gains. You'll also need to make sure that your "optimize" build profile setting is set to "uglify", rather than "closure", since the closure compiler is not available under node.

If you're not using a custom build profile, then you can safely set REQUIRE_ENVIRONMENT to "node", and the default build profile will use "uglify". In fact, the default optimize setting is now "uglify" for all environments. You can override this in a custom build profile if you still prefere to use the "rhino" environment.

Happy coding!

Dave.
Reply all
Reply to author
Forward
0 new messages