diff --git a/microservices/auth/package.json b/microservices/auth/package.json index 532a52fc5d490908dff8225def09485b64e71bd2..eecfbabb94f4e2f1a85dbcb77a6a779eabcf9522 100644 --- a/microservices/auth/package.json +++ b/microservices/auth/package.json @@ -5,7 +5,6 @@ "license": "", "author": "Michaƫl Minelli <michael-jean.minelli@hesge.ch>", "main": "dist/src/app.js", - "type": "module", "scripts": { "env:decrypt": "npx dotenvx decrypt", "env:update": "npx dotenvx encrypt", diff --git a/microservices/auth/tsconfig.json b/microservices/auth/tsconfig.json index 0af92795eaf1680fb308c0b50a651e88b4741fe0..64ca039a9bb1569e5f513a08bd014b76f566ea5a 100644 --- a/microservices/auth/tsconfig.json +++ b/microservices/auth/tsconfig.json @@ -3,8 +3,8 @@ "baseUrl" : ".", "outDir" : "dist", "strict" : true, - "target" : "ES2022", - "module" : "commonjs", + "target" : "ESNext", + "module" : "ESNext", "sourceMap" : true, "noImplicitAny" : true, "esModuleInterop" : true,