diff --git a/packages/socket/webpack.web.config.cjs b/packages/socket/webpack.web.config.cjs index 4ef48d13b1..bc1487d36d 100644 --- a/packages/socket/webpack.web.config.cjs +++ b/packages/socket/webpack.web.config.cjs @@ -12,6 +12,7 @@ module.exports = [ target: target, entry: globSync("./build/**/*.spec.js", { dotRelative: true }).sort(), output: { + asyncChunks: false, path: distdir, filename: "tests.js", }, diff --git a/tsconfig.json b/tsconfig.json index c94d2ce2c7..6cf604ecb4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,10 +4,9 @@ "declaration": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, - "lib": ["es2020"], - "target": "es2020", - "module": "commonjs", - "moduleResolution": "node", + "lib": ["es2022"], + "target": "es2022", + "module": "node20", "newLine": "LF", "noEmitOnError": true, "noFallthroughCasesInSwitch": true,