mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-21 05:01:34 +03:00
12 lines
254 B
TypeScript
12 lines
254 B
TypeScript
import type { BuildFlags } from '@affine/cli/config';
|
|
|
|
export function computeCacheKey(buildFlags: BuildFlags) {
|
|
return [
|
|
'1',
|
|
'node' + process.version,
|
|
buildFlags.mode,
|
|
buildFlags.distribution,
|
|
buildFlags.channel,
|
|
].join('-');
|
|
}
|