Initial commit
This commit is contained in:
11
frontend/webapp/node_modules/next/dist/esm/server/cache-dir.js
generated
vendored
Normal file
11
frontend/webapp/node_modules/next/dist/esm/server/cache-dir.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import path from 'path';
|
||||
import isDockerFunction from 'next/dist/compiled/is-docker';
|
||||
export function getStorageDirectory(distDir) {
|
||||
const isLikelyEphemeral = isDockerFunction();
|
||||
if (isLikelyEphemeral) {
|
||||
return undefined;
|
||||
}
|
||||
return path.join(distDir, 'cache');
|
||||
}
|
||||
|
||||
//# sourceMappingURL=cache-dir.js.map
|
||||
Reference in New Issue
Block a user