( environment: Environment, id: string, )
| 943 | } |
| 944 | |
| 945 | export function getOptimizedDepPath( |
| 946 | environment: Environment, |
| 947 | id: string, |
| 948 | ): string { |
| 949 | return normalizePath( |
| 950 | path.resolve(getDepsCacheDir(environment), flattenId(id) + '.js'), |
| 951 | ) |
| 952 | } |
| 953 | |
| 954 | function getDepsCacheSuffix(environment: Environment): string { |
| 955 | return environment.name === 'client' ? '' : `_${environment.name}` |
no test coverage detected