mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed fileloader pattern to actually load smth
This commit is contained in:
parent
9a9118c721
commit
b51b8423e7
@ -1,6 +1,5 @@
|
||||
import path from 'path'
|
||||
import { fileLoader, mergeResolvers } from 'merge-graphql-schemas'
|
||||
|
||||
const resolversArray = fileLoader(path.join(__dirname, './'), { extensions: ['!(*.spec).js'] })
|
||||
|
||||
const resolversArray = fileLoader(path.join(__dirname, './!(*.spec).js'))
|
||||
export default mergeResolvers(resolversArray)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user