parent
15d35b5817
commit
2802797a64
@ -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;
|
||||
|
Reference in New Issue
Block a user