diff --git a/package.json b/package.json index beace56b7..2e7d947e5 100644 --- a/package.json +++ b/package.json @@ -17,5 +17,6 @@ }, "dependencies": { "@workadventure/scripting-api-extra": "^1.4.6" - } + }, + "type": "module" } diff --git a/tsconfig.json b/tsconfig.json index ac13dfbb6..a5de38d7a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ "DOM" ], "allowJs": true, - "moduleResolution": "Node", + "moduleResolution": "Node16", "strict": true, "noImplicitAny": true, "strictNullChecks": true,