diff --git a/tsconfig-back.json b/tsconfig-back.json index f72cb55..20bf5ba 100644 --- a/tsconfig-back.json +++ b/tsconfig-back.json @@ -3,7 +3,7 @@ "target": "ES2020", "lib": ["ES2020"], "module": "commonjs", - "moduleResolution": "node", + "moduleResolution": "node16", "declaration": true, "sourceMap": true, "outDir": "./dist-require", diff --git a/tsconfig-front.json b/tsconfig-front.json index cb836b2..de759f3 100644 --- a/tsconfig-front.json +++ b/tsconfig-front.json @@ -4,6 +4,7 @@ "outDir": "./dist-import", "emitDeclarationOnly": false, "declaration": true, - "module": "ESNext" + "module": "ESNext", +"moduleResolution": "node16" } } diff --git a/tsconfig.json b/tsconfig.json index e80f717..c294429 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,8 +2,8 @@ "compilerOptions": { "target": "ES2020", "lib": ["ES2020", "DOM"], - "module": "ESNext", - "moduleResolution": "bundler", // Suporta package.exports + "module": "node16", + "moduleResolution": "node16", "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true,