21 lines
589 B
JavaScript
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,
|
|
}),
|
|
},
|
|
};
|