feat: add t3 env package

This commit is contained in:
Simon Emanuelsson
2024-02-16 12:59:06 +01:00
parent fa445b6f41
commit 0a1df4d45c
11 changed files with 147 additions and 195 deletions

View File

@@ -1,5 +1,13 @@
import createJiti from "jiti"
const jiti = createJiti(new URL(import.meta.url).pathname);
jiti("./env/server");
jiti("./env/client");
/** @type {import('next').NextConfig} */
const nextConfig = {
eslint: { ignoreDuringBuilds: true },
images: {
remotePatterns: [
{
@@ -21,4 +29,4 @@ const nextConfig = {
}
};
module.exports = nextConfig;
export default nextConfig