Skip to content

Commit cf388d2

Browse files
committed
fix: allow inlineDynamicImports for Pyodide + torch
1 parent c030c3e commit cf388d2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rollup.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const config = [
6060
format: "iife",
6161
name: "PySlangWorker",
6262
sourcemap: true,
63+
inlineDynamicImports: true,
6364
},
6465
plugins: plugins(),
6566
},
@@ -73,6 +74,7 @@ const config = [
7374
format: "cjs",
7475
exports: "default",
7576
sourcemap: true,
77+
inlineDynamicImports: true,
7678
},
7779
plugins: plugins(),
7880
},

0 commit comments

Comments
 (0)