polite-shoe-79877
04/29/2021, 10:11 AMimport serviceConfig from '../appsettings.json';
this in ts config
{
"compilerOptions": {
"strict": true,
"outDir": "bin",
"target": "es2016",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"experimentalDecorators": true,
"pretty": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
},
"files": [
"index.ts"
]
}
But iam till gettin this error
Cannot find module '../appsettings.json'. Consider using '--resolveJsonModule' to import module with '.json' extensionNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by