1
1
/**
2
- * @license r.js 2.2.0+ Wed, 31 Aug 2016 05:56:23 GMT Copyright jQuery Foundation and other contributors.
2
+ * @license r.js 2.2.0+ Sun, 04 Sep 2016 06:25:31 GMT Copyright jQuery Foundation and other contributors.
3
3
* Released under MIT license, http://github.com/requirejs/r.js/LICENSE
4
4
*/
5
5
@@ -19,7 +19,7 @@ var requirejs, require, define, xpcUtil;
19
19
(function (console, args, readFileFunc) {
20
20
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
21
21
nodeDefine, exists, reqMain, loadedOptimizedLib, existsForNode, Cc, Ci,
22
- version = '2.2.0+ Wed, 31 Aug 2016 05:56:23 GMT',
22
+ version = '2.2.0+ Sun, 04 Sep 2016 06:25:31 GMT',
23
23
jsSuffixRegExp = /\.js$/,
24
24
commandOption = '',
25
25
useLibLoaded = {},
@@ -26019,7 +26019,8 @@ define('build', function (require) {
26019
26019
'. Stopping, config is malformed.');
26020
26020
}
26021
26021
26022
- if (!module.create) {
26022
+ // Copy the file, but only if it is not provided in rawText.
26023
+ if (!module.create && (!config.rawText || !lang.hasProp(config.rawText, module.name))) {
26023
26024
file.copyFile(module._sourcePath, module._buildPath);
26024
26025
}
26025
26026
}
0 commit comments