File size: 324 Bytes
fea495a
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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