mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: add root to the sourcemap so it won't use absolute pathing (#636)
This commit is contained in:
Vendored
+3
-3
@@ -101,10 +101,10 @@ function _buildAppTree(defaults) {
|
||||
vendorNpmFiles: [
|
||||
'systemjs/dist/system-polyfills.js',
|
||||
'systemjs/dist/system.src.js',
|
||||
'zone.js/dist/*.js',
|
||||
'zone.js/dist/*.+(js|js.map)',
|
||||
'core-js/client/core.js',
|
||||
'rxjs/**/*.js',
|
||||
'@angular/**/*.js',
|
||||
'rxjs/**/*.+(js|js.map)',
|
||||
'@angular/**/*.+(js|js.map)',
|
||||
'hammerjs/*.min.+(js|js.map)'
|
||||
]
|
||||
});
|
||||
|
||||
@@ -23,7 +23,6 @@ const components = [
|
||||
'toolbar'
|
||||
];
|
||||
|
||||
|
||||
/** Map relative paths to URLs. */
|
||||
const map: any = {
|
||||
'@angular2-material/core': 'core',
|
||||
@@ -45,6 +44,7 @@ components.forEach(name => {
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/***********************************************************************************************
|
||||
* Everything underneath this line is managed by the CLI.
|
||||
@@ -63,8 +63,13 @@ const barrels: string[] = [
|
||||
'rxjs',
|
||||
|
||||
// App specific barrels.
|
||||
'app',
|
||||
'app/shared',
|
||||
'demo-app',
|
||||
'button-toggle',
|
||||
'gestures',
|
||||
'live-announcer',
|
||||
'portal',
|
||||
'overlay',
|
||||
...components
|
||||
/** @cli-barrel */
|
||||
];
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"declaration": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"mapRoot": "",
|
||||
"mapRoot": "/",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"noEmitOnError": true,
|
||||
|
||||
@@ -62,8 +62,7 @@ const barrels: string[] = [
|
||||
'rxjs',
|
||||
|
||||
// App specific barrels.
|
||||
'app',
|
||||
'app/shared',
|
||||
'e2e-app',
|
||||
/** @cli-barrel */
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user