From 5d06cc1d142e66589d52f7c6924e5d4286e86020 Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Sat, 12 Oct 2024 22:46:10 +0700 Subject: [PATCH] fix: no longer shim setTimeout --- rollup.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.mjs b/rollup.config.mjs index 319b558..4cf5792 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -10,7 +10,7 @@ export default { file: 'dist/index.js', format: 'iife', compact: true, - intro: "var window = globalThis, self = globalThis, console = new Proxy({}, { get: () => () => void 0 }), setTimeout = (x) => x();" + intro: "var window = globalThis, self = globalThis, console = new Proxy({}, { get: () => () => void 0 })" }, plugins: [ nodeResolve(),