refactor: traits hook

This commit is contained in:
cha0s 2021-02-16 00:04:16 -06:00
parent 319236e9df
commit 73e03d2c00
5 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ import flatten from 'lodash.flatten';
export default {
hooks: {
'@avocado/traits': gatherWithLatus(
'@avocado/traits/traits': gatherWithLatus(
require.context('./traits', false, /\.js$/),
),
'@humus/combat/affinities': () => ({

View File

@ -7,7 +7,7 @@ export * from './state';
export default {
hooks: {
'@avocado/traits': gatherWithLatus(
'@avocado/traits/traits': gatherWithLatus(
require.context('./traits', false, /\.js$/),
),
'@latus/redux/slices': () => ({

View File

@ -2,7 +2,7 @@ import {gatherWithLatus} from '@latus/core';
export default {
hooks: {
'@avocado/traits': gatherWithLatus(
'@avocado/traits/traits': gatherWithLatus(
require.context('./traits', false, /\.js$/),
),
'@latus/socket/packets': gatherWithLatus(

View File

@ -2,7 +2,7 @@ import {gatherWithLatus} from '@latus/core';
export default {
hooks: {
'@avocado/traits': gatherWithLatus(
'@avocado/traits/traits': gatherWithLatus(
require.context('./traits', false, /\.js$/),
),
'@latus/socket/packets': gatherWithLatus(

View File

@ -12,7 +12,7 @@ export default {
'@avocado/resource/resources': gatherWithLatus(
require.context('./resources', false, /\.js$/),
),
'@avocado/traits': gatherWithLatus(
'@avocado/traits/traits': gatherWithLatus(
require.context('./traits', false, /\.js$/),
),
'@latus/redux/slices': () => ({