Skip to content

Commit fb3f508

Browse files
committed
fix: cache
1 parent d42325d commit fb3f508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/specs/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ async function buildSpec({
7373

7474
// In case of lite we use a the `search` spec as a base because only its bundled form exists.
7575
const specBase = isLiteSpec ? 'search' : spec;
76-
const deps = isLiteSpec ? ['search', 'recommend'] : [spec];
7776
const logSuffix = docs ? 'doc spec' : 'spec';
7877
const basePath = docs ? 'docs/' : 'specs/';
78+
const deps = isLiteSpec ? ['search', 'recommend'] : [spec];
7979
const cache = new Cache({
8080
folder: toAbsolutePath(basePath),
81-
generatedFiles: [`${spec}.yml`],
81+
generatedFiles: [`bundled/${spec}.yml`],
8282
filesToCache: [...deps, 'common'],
8383
cacheFile: toAbsolutePath(`${basePath}/dist/${spec}.cache`),
8484
});

0 commit comments

Comments
 (0)