jvilk / BrowserFS

BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends.
Other
3.06k stars 215 forks source link

Make BrowserFS usable in a Web Worker again #255

Closed corhere closed 5 years ago

corhere commented 5 years ago

Webpack 4 introduced a regression that causes 'umd' libraries to be unusable in Web Workers. https://github.com/webpack/webpack/issues/6642 https://github.com/webpack/webpack/issues/6677

This regression will be fixed with the introduction of a new 'universal' target (https://github.com/webpack/webpack/issues/6525) but that feature is scheduled for Webpack 5.

Apply the recommended workaround to get back the old Webpack 3 behaviour.

jvilk commented 5 years ago

Thanks!