requirejs, almond: A stand alone module built with almond loads all dependencies, but the main code is not executed
问题 I am trying to build a stand alone module with almond and this is my setup. The question is at the bottom. Abbreviated directory structure is: |-static |-core |-js |-require.js |-almond.js |-common.js |-app.build.js |-app |-myApp.js |-vendor |-js |-jquery.js |-bootstrap.js |-fancybox.js Abbreviated contents of common.js: require.config({ baseUrl: "/static/core/js", paths: { 'jquery':'../../vendor/jquery/1.7.2/jquery', 'bootstrap':'../../vendor/bootstrap/2.2.2/js/bootstrap', 'fancybox':'../..