fbredius/storybook

View on GitHub
lib/core-common/src/utils/cache.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createFileSystemCache } from './file-cache';
import { resolvePathInStorybookCache } from './resolve-path-in-sb-cache';

export const cache = createFileSystemCache({
  basePath: resolvePathInStorybookCache('dev-server'),
  ns: 'storybook', // Optional. A grouping namespace for items.
});