app.build.js 425 B

12345678910111213141516171819202122232425
  1. requirejs.config({
  2. baseUrl: "./build",
  3. out: "./build/chat.js",
  4. inlineText:true,
  5. preserveLicenseComments:false,
  6. shim: {
  7. "libs/underscore": {
  8. init: function() {
  9. return _.noConflict();
  10. }
  11. },
  12. "libs/backbone": {
  13. deps: ["libs/underscore"],
  14. init: function() {
  15. return Backbone.noConflict();
  16. }
  17. }
  18. },
  19. paths: {
  20. "moment": "libs/moment",
  21. },
  22. name:"chat",
  23. optimize: 'none',
  24. skipDirOptimize: true
  25. })