Webpack: Use cache version scoping in Docker

9e6fbde3cfb064098dc61cd3cb9f6b3d97944ad4

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
webpack.config.js+2 -2
@@ -15,7 +15,7 @@ import { serverDirectory } from './src/server-directory.js';
1515export default function getPublicLibConfig(forceDist = false) {
1616 function getCacheDirectory() {
1717 if (forceDist || isDocker()) {
1818 return path.resolve(process.cwd(), 'dist/', '_webpack', webpack.version, 'cache');
1919 }
2020
2121 if (typeof globalThis.DATA_ROOT === 'string') {
@@ -27,7 +27,7 @@ export default function getPublicLibConfig(forceDist = false) {
2727
2828 function getOutputDirectory() {
2929 if (forceDist || isDocker()) {
3030 return path.resolve(process.cwd(), 'dist', '_webpack', webpack.version, 'output');
3131 }
3232
3333 if (typeof globalThis.DATA_ROOT === 'string') {