feat: use TS moduleResolution node12 to retain dynamic imports in compiled code

This commit is contained in:
Dragory 2021-10-31 14:28:43 +02:00
parent 339eff79a8
commit 48ef66e689
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -1,6 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"moduleResolution": "node", "moduleResolution": "node12",
"module": "commonjs", "module": "commonjs",
"noImplicitAny": false, "noImplicitAny": false,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,