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

pull/6649/merge
Marcel Mraz 3 weeks ago committed by GitHub
parent 78ab12c7e6
commit 2ac55067cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save