From d90411a16791515bb923f7132ea1873841635b75 Mon Sep 17 00:00:00 2001 From: Michael Heuberger Date: Fri, 13 Dec 2024 15:29:38 +1300 Subject: [PATCH] set autoExternal to false for UMD --- rslib.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rslib.config.ts b/rslib.config.ts index c705bd12..2b526dc0 100644 --- a/rslib.config.ts +++ b/rslib.config.ts @@ -43,6 +43,9 @@ export default defineConfig({ }, { format: "umd", + // This will include all the JS code into one single file without + // the use of require() + autoExternal: false, umdName: "VideomailClient", output: { distPath: {