Created
August 15, 2012 00:40
-
-
Save jstrimpel/3354257 to your computer and use it in GitHub Desktop.
requirejs optimize build error
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
// main module | |
define(['core/text!template/main.html', 'js/foo', 'js/bar', 'js/baz'], function (template, foo, bar, baz) { }); | |
// build.json used for optimize | |
{ | |
"baseUrl": "./src/client", | |
"dir": "./web", | |
"name": "js/main", | |
"exclude": ["core/text"], | |
"paths": { | |
"core/moduleA": "empty:", | |
"core/view/moduleB": "empty:", | |
"core/moduleC": "empty:", | |
"core/moduleD": "empty:" | |
}, | |
"removeCombined": true, | |
"inlineText": true, | |
"keepBuildDir": true, | |
"fileExclusionRegExp": "less|test", | |
"optimize": "uglify" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment