Make tsconfig more generic

This commit is contained in:
Maximilian Ammann 2022-04-25 14:36:22 +02:00
parent e2db9cbd4d
commit 07958c670b

View File

@ -1,15 +1,14 @@
{
"compilerOptions": {
//"outDir": "./dist/maplibre-rs",
"module": "commonjs",
"target": "es5",
"lib": [ "es2015", "dom" ],
"outDir": "./dist/maplibre-rs",
"module": "es2022",
"target": "es2022",
"lib": [ "es6", "dom" ],
"sourceMap": true,
"declaration": true,
"allowJs": true,
"skipLibCheck": true,
"moduleResolution": "node",
// "plugins": [{ "transform": "@magic-works/commonjs-import.meta" }]
},
//"include": ["./src/**/*"]
"include": ["./src/**/*"]
}