chore(bump cs3d): bump package and add caching to webpack (#3353)

* chore(bump cs3d): bump package and add caching to webpack

* remove test for now
This commit is contained in:
Alireza authored and GitHub committed 2023-05-03 12:30:02 -04:00
1 parent 3cd01c7264
commit 969e7698fa
11 files changed
+68 -63

No files matched your search

+2
View File
@@ -32,6 +32,8 @@ function transpileJavaScript(mode) {
// https://babeljs.io/docs/en/options#rootmode
rootMode: 'upward',
envName: mode,
cacheCompression: false,
cacheDirectory: true,
},
};
}
+3
View File
@@ -77,6 +77,9 @@ module.exports = (env, argv, { SRC_DIR, DIST_DIR }) => {
'Cross-Origin-Opener-Policy': 'same-origin',
},
},
cache: {
type: 'filesystem',
},
module: {
noParse: [/(codec)/, /(dicomicc)/],
rules: [