From d5946321d08a5ab81539427db6d91f20f0bce1ed Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 11 Jul 2023 07:46:46 -0400 Subject: [PATCH] fix: force inlineDynamicImports --- src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.ts b/src/index.ts index 84a8531..27c1cfb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -85,6 +85,11 @@ export default async function (context: PresetContext): Promise { fileName: "index", }, minify: false, + rollupOptions: { + output: { + inlineDynamicImports: true, + }, + }, }, resolve: { dedupe: [