mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
♻️ validate env and add remote fossorial API as an env variable
This commit is contained in:
17
next.config.ts
Normal file
17
next.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { NextConfig } from "next";
|
||||
import createNextIntlPlugin from "next-intl/plugin";
|
||||
|
||||
import { pullEnv } from "./src/lib/pullEnv";
|
||||
// validate env variables on build and such
|
||||
pullEnv();
|
||||
|
||||
const withNextIntl = createNextIntlPlugin();
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true
|
||||
},
|
||||
output: "standalone"
|
||||
};
|
||||
|
||||
export default withNextIntl(nextConfig);
|
||||
Reference in New Issue
Block a user