Skip to content

Commit ac2fec4

Browse files
filipesilvahansl
authored andcommitted
fix(@angular/cli): don't set baseUrl in editor tsconfig
Fix #5875
1 parent bcd0d01 commit ac2fec4

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

packages/@angular/cli/blueprints/ng/files/__path__/tsconfig.app.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"extends": "<%= relativeRootPath %>/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "<%= relativeRootPath %>/out-tsc/app",
5+
"baseUrl": "./",
56
"module": "es2015",
6-
"baseUrl": "",
77
"types": []
88
},
99
"exclude": [

packages/@angular/cli/blueprints/ng/files/__path__/tsconfig.spec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"extends": "<%= relativeRootPath %>/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "<%= relativeRootPath %>/out-tsc/spec",
5+
"baseUrl": "./",
56
"module": "commonjs",
67
"target": "es5",
7-
"baseUrl": "",
88
"types": [
99
"jasmine",
1010
"node"

packages/@angular/cli/blueprints/ng/files/e2e/tsconfig.e2e.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
5+
"baseUrl": "./",
56
"module": "commonjs",
67
"target": "es5",
78
"types": [

packages/@angular/cli/blueprints/ng/files/tsconfig.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compileOnSave": false,
33
"compilerOptions": {
44
"outDir": "./dist/out-tsc",
5-
"baseUrl": "src",
65
"sourceMap": true,
76
"declaration": false,
87
"moduleResolution": "node",

0 commit comments

Comments
 (0)