diff --git a/core/package.json b/core/package.json index 78245d98..61f6b381 100644 --- a/core/package.json +++ b/core/package.json @@ -37,6 +37,9 @@ "lib", "src" ], + "engines": { + "node": ">=16.0.0" + }, "peerDependencies": { "react-scripts": ">=2.1.3" }, diff --git a/core/tsconfig.json b/core/tsconfig.json index 07b6a445..643b654b 100644 --- a/core/tsconfig.json +++ b/core/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "module": "Node16", - "target": "ES5", + "target": "ES2022", "strict": true, "declaration": true, "esModuleInterop": true,