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:
1 parent
3cd01c7264
commit
969e7698fa
11 files changed
+68
-63
No files matched your search
@@ -32,6 +32,8 @@ function transpileJavaScript(mode) {
|
||||
// https://babeljs.io/docs/en/options#rootmode
|
||||
rootMode: 'upward',
|
||||
envName: mode,
|
||||
cacheCompression: false,
|
||||
cacheDirectory: true,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in new issue
Block a user