Created
September 27, 2017 05:06
-
-
Save xTMNTxRaphaelx/11685c34d77fab6a2a3387e7dfd4a944 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ({ | |
| // 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' | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment