fix: package build fails on worker chunks (#8990)

This commit is contained in:
Marcel Mraz authored and GitHub committed 2025-01-07 11:22:36 +00:00
1 parent 78ab12c7e6
commit 2ac55067cd
1 file changed
+5 -2
+5 -2
View File
@@ -158,5 +158,8 @@ const createESMRawBuild = async () => {
await buildProd(rawConfigChunks);
};
createESMRawBuild();
createESMBrowserBuild();
// otherwise throws "ERROR: Could not resolve "./subset-worker.chunk"
(async () => {
await createESMRawBuild();
await createESMBrowserBuild();
})();