Skip to content

Commit 9d3fac9

Browse files
committed
- Released 20.3.4-ion2
1 parent 7470043 commit 9d3fac9

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/devkit-repo",
3-
"version": "20.3.4-ion1",
3+
"version": "20.3.4-ion3",
44
"private": true,
55
"description": "Software Development Kit for Angular",
66
"keywords": [

packages/ngtools/webpack/src/ivy/loader.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ export function angularWebpackLoader(
8080
if (result.declaration && fileEmitter.compilerOptions.declaration) {
8181
let target = this.resourcePath.replace('.ts', '.d.ts');
8282
if (fileEmitter.compilerOptions.declarationDir) {
83-
if (!fileEmitter.compilerOptions.baseUrl) {
84-
throw new Error('When declarationDir is specified, baseUrl is required as well');
85-
}
8683
const relDir = path.relative(path.join(fileEmitter.compilerOptions.basePath!, fileEmitter.compilerOptions.baseUrl || "./"), target);
8784
target = path.join(fileEmitter.compilerOptions.declarationDir, relDir);
8885
}

0 commit comments

Comments
 (0)