nodebb-plugin-emoji/tsconfig.json
Peter Jaszkowiak d09a8e3557 fix mime import transpilation
Dynamic `import('mime')` was compiling to `require` which led
to a runtime error. Fixed the tsconfig to correctly support
`import()` in CJS modules and simplified the code a bit.
2024-11-17 19:45:21 -07:00

22 lines
No EOL
425 B
JSON

{
"include": [
"lib/**/*.ts"
],
"compilerOptions": {
"types": [],
"outDir": "build/lib",
"lib": ["es2019"],
"target": "es2019",
"module": "node16",
"moduleResolution": "node16",
"esModuleInterop": true,
"noImplicitAny": true,
"alwaysStrict": true,
"strictNullChecks": true,
"sourceMap": true,
"skipLibCheck": true
},
"typeAcquisition": {
"enable": false
}
}