diff --git a/next.config.mjs b/next.config.mjs index 91397cd..da632bb 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,8 +1,7 @@ +import { format } from "@formkit/tempo"; import nextBuildId from "next-build-id"; -import path from 'path'; -import { fileURLToPath } from 'url'; -import {format} from '@formkit/tempo' - +import path from "path"; +import { fileURLToPath } from "url"; const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file const __dirname = path.dirname(__filename); // get the name of the directory @@ -22,10 +21,8 @@ const nextConfig = { NEXT_PUBLIC_BUILD_TIME_SHORT: format(new Date(), { date: "short", time: "short", - }) - } + }), + }, }; -console.log(`NEXT_PUBLIC_BUILD_TIME_SHORT: ${nextConfig.env.NEXT_PUBLIC_BUILD_TIME_SHORT}`); - export default nextConfig;