From a58775aefdd1b7ba5c06b01ee919e3f7ac9f1f90 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 2 Jul 2023 02:37:08 -0400 Subject: [PATCH] fix: set inlineDynamicImports to true --- src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.ts b/src/index.ts index 04d66c7..6e51349 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,6 +21,11 @@ export default async function (context: PresetContext): Promise { supplementaryIgnores: ignores, supplementaryConfig: { rollup: { + output: { + "0": { + inlineDynamicImports: true, + }, + }, plugins: [ [ "@apply @rollup/plugin-wasm[default]",