Skip to content

Commit c09b4ff

Browse files
committed
build: fix incorrect module resolution from shared lib when testing locally
1 parent 701c45c commit c09b4ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/shared/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"executor": "@nrwl/js:tsc",
99
"outputs": ["{options.outputPath}"],
1010
"options": {
11-
"outputPath": "dist/packages/shared",
11+
"outputPath": "dist/packages/node_modules/shared",
1212
"main": "packages/shared/src/index.ts",
1313
"tsConfig": "packages/shared/tsconfig.lib.json"
1414
}
@@ -17,7 +17,7 @@
1717
"executor": "@nrwl/js:tsc",
1818
"outputs": ["{options.outputPath}"],
1919
"options": {
20-
"outputPath": "dist/packages/shared",
20+
"outputPath": "dist/packages/node_modules/shared",
2121
"main": "packages/shared/src/index.ts",
2222
"tsConfig": "packages/shared/tsconfig.lib.json"
2323
}

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"paths": {
1414
"shared": [
1515
"packages/shared/src/index.ts",
16-
"dist/packages/shared/src/index.js"
16+
"dist/packages/node_modules/shared/src/index.js"
1717
]
1818
},
1919
"noImplicitAny": true,

0 commit comments

Comments
 (0)