feat: Update to WADO Image Loader 4.0.3 to add dynamically imported WebAssembly codec support 🚀 (#2538)

* feat: update to prerelease of WADO Image Loader, add copy plugin to pull dist/dynamic-import into OHIF

* fix: Set empty public path

* perf: Add webpackPrefetch tags to lazy loaded components

* Switch to using webpack alias to use dynamic import version of WADO Image Loader

* fix lockfile

* prevent polyfilling zlib

* bump to wado image loader 4.0.3 with fix for public path
This commit is contained in:
Erik Ziegler authored and GitHub committed 2021-09-24 09:06:52 +02:00
1 parent 898f93e19d
commit 3c9f3cb273
19 files changed
+232 -88

No files matched your search

+3 -1
View File
@@ -5,7 +5,9 @@ import id from './id.js';
import init from './init';
const Component = React.lazy(() => {
return import('./viewports/OHIFCornerstoneSRViewport');
return import(
/* webpackPrefetch: true */ './viewports/OHIFCornerstoneSRViewport'
);
});
const OHIFCornerstoneSRViewport = props => {