You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works fine in webpack4, and regression in webpack5. After using this method to load worker #37 (comment)
It only produces one worker file and its source map.
ERROR in Conflict: Multiple assets emit different content to the same filename 348.index.worker.js.map
ERROR in Conflict: Multiple assets emit different content to the same filename 348.index.worker.js
The text was updated successfully, but these errors were encountered:
Oh, just set different name in two loader import statements:
-import workerURL from 'threads-plugin/dist/loader?name=worker!./gitWorker.ts';+import workerURL from 'threads-plugin/dist/loader?name=gitWorker!./gitWorker.ts';-import workerURL from 'threads-plugin/dist/loader?name=worker!./wikiWorker.ts';+import workerURL from 'threads-plugin/dist/loader?name=wikiWorker!./wikiWorker.ts';
Basically the same as #6
It works fine in webpack4, and regression in webpack5. After using this method to load worker #37 (comment)
It only produces one worker file and its source map.
The text was updated successfully, but these errors were encountered: