Make worker_threads dynamic imports direct and keep them in the bundle (externalized), & mark them as ignored for browser builds (fixes #306)

This commit is contained in:
Vanilagy
2026-02-24 13:11:16 +01:00
parent 31147d6e96
commit 89afa1e2a6
3 changed files with 11 additions and 3 deletions
+3
View File
@@ -18,6 +18,9 @@
"dist",
"src"
],
"browser": {
"worker_threads": false
},
"sideEffects": false,
"license": "MPL-2.0",
"repository": {