mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-05 07:05:40 -05:00
refactor .js files to ES modules where possible
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// @ts-check
|
||||
// do not convert to ESM and/or TS -- this needs to be imported in CJS files like next.config.js too
|
||||
module.exports = {
|
||||
|
||||
const config = {
|
||||
// Site info
|
||||
siteName: "Jake Jarvis",
|
||||
siteDomain: "jarv.is",
|
||||
@@ -17,8 +17,6 @@ module.exports = {
|
||||
githubRepo: "jakejarvis/jarv.is",
|
||||
verifyGoogle: "qQhmLTwjNWYgQ7W42nSTq63xIrTch13X_11mmxBE9zk",
|
||||
verifyBing: "164551986DA47F7F6FC0D21A93FFFCA6",
|
||||
fathomSiteId: "PIUEIVIZ",
|
||||
hcaptchaSiteKey: "60d959de-b01b-4e22-a901-ce395ed086cb",
|
||||
giscusConfig: {
|
||||
// https://github.com/giscus/giscus-component/tree/main/packages/react#readme
|
||||
repo: "jakejarvis/jarv.is",
|
||||
@@ -41,3 +39,5 @@ module.exports = {
|
||||
mastodon: "fediverse.jarv.is/@jake",
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as config from ".";
|
||||
import config from ".";
|
||||
import { meJpg, faviconPng, faviconIco, appleTouchIconPng } from "./favicons";
|
||||
|
||||
import type { DefaultSeoProps, SocialProfileJsonLdProps, ArticleJsonLdProps } from "next-seo";
|
||||
|
||||
Reference in New Issue
Block a user