humus/packages/universe/src/index.js
2022-05-03 04:44:31 -05:00

21 lines
589 B
JavaScript

import {Hooks, Flecks} from '@flecks/core';
import {universes} from './state';
export * from './state';
export default {
[Hooks]: {
'@avocado/resource.resources': Flecks.provide(require.context('./resources', false, /\.js$/)),
'@avocado/traits.traits': Flecks.provide(require.context('./traits', false, /\.js$/)),
'@flecks/core.config': () => ({
resource: 'resource',
universe: 'universe',
}),
'@flecks/socket.packets': Flecks.provide(require.context('./packets', false, /\.js$/)),
'@flecks/redux.slices': () => ({
universes,
}),
},
};