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

This commit is contained in:
Marcel Mraz 2025-01-07 12:22:36 +01:00 committed by GitHub
parent 78ab12c7e6
commit 2ac55067cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();
})();