Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit a8b1c4f

Browse files
committed
build: preserve symlinks when building nested CLI apps
Ensures that we don't accidentally resolve modules in the parent monorepo node modules when we have a dedicated node modules folder for a given CLI app. It seems like the Webpack resolver jumps between those two node modules and ends up in a cycle.
1 parent 704bf4b commit a8b1c4f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/apps/demo-app/angular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
1414
"aot": true,
15+
"preserveSymlinks": true,
1516
"outputPath": "dist/browser",
1617
"index": "src/index.html",
1718
"main": "src/main.ts",

src/apps/hello-world/angular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
1414
"aot": true,
15+
"preserveSymlinks": true,
1516
"outputPath": "dist",
1617
"index": "src/index.html",
1718
"main": "src/main.ts",

0 commit comments

Comments
 (0)