refactor(build): explicitly mention src folder in imports

Export files are now directly under the module folder,
e.g. `core/core.js`. With this, an import like `core/core`
won’t need a path mapping (e.g. via `System.paths`) any more.
This adds the `src` folder to all other import statements as well.
This commit is contained in:
Tobias Bosch
2015-02-02 16:25:34 -08:00
committed by Alex Eagle
parent 9db13be4c7
commit 05ffdc9b44
160 changed files with 612 additions and 620 deletions

View File

@ -13,33 +13,7 @@ System.baseURL = '/base/modules/';
// So that we can import packages like `core/foo`, instead of `core/src/foo`.
System.paths = {
'angular/*': './angular/src/*.js',
'angular/test/*': './angular/test/*.js',
'core/*': './core/src/*.js',
'core/test/*': './core/test/*.js',
'change_detection/*': './change_detection/src/*.js',
'change_detection/test/*': './change_detection/test/*.js',
'facade/*': './facade/src/*.js',
'facade/test/*': './facade/test/*.js',
'di/*': './di/src/*.js',
'di/test/*': './di/test/*.js',
'directives/*': './directives/src/*.js',
'directives/test/*': './directives/test/*.js',
'reflection/*': './reflection/src/*.js',
'reflection/test/*': './reflection/test/*.js',
'rtts_assert/*': './rtts_assert/src/*.js',
'rtts_assert/test/*': './rtts_assert/test/*.js',
'test_lib/*': './test_lib/src/*.js',
'test_lib/test/*': './test_lib/test/*.js',
'*': './*.js',
'transpiler/*': '../tools/transpiler/*.js'
}