another config fix

This commit is contained in:
Matthias Kretschmann 2021-10-27 18:33:57 +01:00
parent 1cf69c2423
commit 8ecf78c60b
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 4 additions and 10 deletions

View File

@ -1,4 +1,4 @@
export default {
module.exports = {
// URI of single metadata cache instance for all networks.
// While ocean.js includes this value for each network as part of its ConfigHelper,
// it is assumed to be the same for all networks.

View File

@ -1,11 +1,11 @@
import { UseSiteMetadata } from './types'
import siteContent from '../../../content/site.json'
import siteConfig from '../../../app.config'
import appConfig from '../../../app.config'
export function useSiteMetadata(): UseSiteMetadata {
const siteMeta: UseSiteMetadata = {
...siteContent,
appConfig: siteConfig
appConfig
}
return siteMeta

View File

@ -29,11 +29,5 @@
"incremental": true
},
"exclude": ["node_modules", ".next", "*.js"],
"include": [
"./src/**/*",
"./tests/**/*",
"./next-env.d.ts",
"./content/**/*",
"app.config.ts"
]
"include": ["./src/**/*", "./tests/**/*", "./next-env.d.ts", "./content/**/*"]
}