refactor(package): import shared and declare cache in server/client

This commit is contained in:
Linden
2022-09-18 08:11:25 +10:00
parent 5549fd4cff
commit 7476505ee7
5 changed files with 12 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
import * as lib from './resource';
import { cache, onCache } from '../shared/resource';
export * from './resource';
export * from './resource';
export * from '../shared';
export default lib;
export { cache, onCache };

View File

@@ -0,0 +1,3 @@
import { cache, onCache } from '../../../shared';
export { cache, onCache };