Add @customer-portal/domain dependency to portal and configure transpilation
This commit is contained in:
parent
7420b77202
commit
d041831434
@ -11,7 +11,7 @@ const nextConfig = {
|
||||
output: process.env.NODE_ENV === "production" ? "standalone" : undefined,
|
||||
|
||||
// Ensure workspace package resolves/transpiles correctly in monorepo
|
||||
transpilePackages: [],
|
||||
transpilePackages: ["@customer-portal/domain"],
|
||||
experimental: {
|
||||
externalDir: true,
|
||||
},
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
"bundle-analyze": "npm run build:analyze && npx @next/bundle-analyzer"
|
||||
},
|
||||
"dependencies": {
|
||||
"@customer-portal/domain": "workspace:*",
|
||||
"@customer-portal/logging": "workspace:*",
|
||||
"@customer-portal/validation": "workspace:*",
|
||||
"@heroicons/react": "^2.2.0",
|
||||
|
||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@ -252,6 +252,9 @@ importers:
|
||||
|
||||
apps/portal:
|
||||
dependencies:
|
||||
'@customer-portal/domain':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/domain
|
||||
'@customer-portal/logging':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/logging
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user