diff --git a/app.config.ts b/app.config.js similarity index 99% rename from app.config.ts rename to app.config.js index a9be9aa7e..f8777636a 100644 --- a/app.config.ts +++ b/app.config.js @@ -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. diff --git a/src/@hooks/useSiteMetadata/index.ts b/src/@hooks/useSiteMetadata/index.ts index a4be17e76..40f9d3259 100644 --- a/src/@hooks/useSiteMetadata/index.ts +++ b/src/@hooks/useSiteMetadata/index.ts @@ -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 diff --git a/tsconfig.json b/tsconfig.json index 781813aea..4bdc6f922 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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/**/*"] }