mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-29 19:03:56 +00:00
7320fe2ac1
This is an import of 166ca8da12
with some changes to make it fit into the mono repo.
- TypedEventEmitter has been replaced with EventEmitter2 because EventEmitter2 is faster and TypedEventEmitter had some troubles with the new way of compiling.
- tsc-esm has been replaced with microbundle. The problems that lib0 doesn't export its types correctly has been solved using yarn patch.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
24 lines
575 B
JSON
24 lines
575 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"removeComments": true,
|
|
"preserveConstEnums": true,
|
|
"lib": [
|
|
"es2020",
|
|
"dom"
|
|
],
|
|
"declaration": true,
|
|
"strict": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "NodeNext",
|
|
"esModuleInterop": true,
|
|
"outDir": "dist/",
|
|
"rootDir": "./src",
|
|
"allowJs": true,
|
|
"sourceMap": true
|
|
},
|
|
"include": ["./src"],
|
|
"exclude": ["./dist", "**/*.test.*", "**/__mocks__/*", "**/__tests__/*"]
|
|
}
|