({ // rename this to whatever the front-end files directory is // rename this to the front end files JavaScript directory baseUrl: "./src/js", // rename this to whatever the distribution directory you want is /** * `r.js` needs to know where `require.config` is called ahead of time * rather than just having it be included automatically by data-main * * This is done so that shim definitions can be ready and `angular` will * be properly defined as a module */ mainConfigFile: "src/js/requireJSConfig.js", optimize: 'uglify2', uglify2: { mangle: false }, out: "src/main.js", name: 'requireJSConfig' })