sparse-intern-71089
01/11/2022, 3:13 PMbillowy-army-68599
purple-megabyte-83002
01/11/2022, 3:41 PMapps/app-web
and reserved
apps/app-web/src-infra
for pulumi scripts and tsconfig.json
I’m trying to load a library of pulumi component resources in libs/infra
it works with a relative path but not with an absolute path @app/infra
defined in tsconfig.json
so
apps/app-web/* (react root)
apps/app-web/Pulumi.yaml
apps/app-web/Pulumi.app-web.dev.yaml
apps/app-web/src-infra/main.ts (pulumi script)
apps/app-web/src-infra/tsconfig.json (for pulumi)
libs/infra/src/index.ts (pulumi comp res)
package.json
tsconfig.base.json
purple-megabyte-83002
01/11/2022, 3:44 PM{
target: 'es6',
module: 'commonjs',
moduleResolution: 'node',
sourceMap: 'true',
baseUrl: '../../../',
paths: {
'@app/infra': [ 'libs/infra/src/index.ts' ]
},
traceResolution: true
}
purple-megabyte-83002
01/11/2022, 3:49 PMbillowy-army-68599
billowy-army-68599
purple-megabyte-83002
01/11/2022, 4:13 PMpurple-megabyte-83002
01/11/2022, 4:13 PM