mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
refactor(package): import shared and declare cache in server/client
This commit is contained in:
@@ -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 };
|
||||
|
||||
3
package/server/resource/cache/index.ts
vendored
Normal file
3
package/server/resource/cache/index.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import { cache, onCache } from '../../../shared';
|
||||
|
||||
export { cache, onCache };
|
||||
Reference in New Issue
Block a user