{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"verbatimModuleSyntax": true,
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
/* If NOT transpiling with TypeScript: */
"moduleResolution": "Bundler",
"module": "ESNext",
"noEmit": true,
"allowSyntheticDefaultImports": true,
/* If your code doesn't run in the DOM: */
"lib": [
"es2022"
]
}
}
#Firebase Functions Help, ESM Module
2 messages · Page 1 of 1 (latest)
import admin from 'firebase-admin'
import functions from 'firebase-functions'
import v1 from 'firebase-functions/v1'
// i want to be able to do this in my monorepo
// This is a Zod Schema
// import { profileSchema } from '@shared/schemas'
import { profileSchema } from '../../../packages/shared/schemas'