|
@@ -91,10 +91,6 @@ AmberCompiler.prototype.main = function (configuration, finished_callback) {
|
|
|
if (!rjsConfig.paths.amber_core) rjsConfig.paths.amber_core = path.join(this.amber_dir, 'src');
|
|
|
rjsConfig.paths['text'] = require.resolve('requirejs-text').replace(/\.js$/, "");
|
|
|
rjsConfig.paths['amber/without-imports'] = path.join(__dirname, 'without-imports');
|
|
|
- rjsConfig.map = rjsConfig.map || {};
|
|
|
- rjsConfig.map["*"] = rjsConfig.map["*"] || {};
|
|
|
- rjsConfig.map["*"]["amber/Platform"] = "amber/boot"; //eg. nothing, TODO remove
|
|
|
- rjsConfig.map["*"]["amber/compatibility"] = "amber/boot"; //eg. nothing, TODO remove
|
|
|
rjsConfig.nodeRequire = require;
|
|
|
rjsConfig.context = "amberc";
|
|
|
configuration.requirejs = requirejs.config(rjsConfig);
|