17 lines
344 B
TypeScript
17 lines
344 B
TypeScript
import type { NextConfig } from "next";
|
|
import dotenv from "dotenv";
|
|
|
|
dotenv.config();
|
|
|
|
const nextConfig: NextConfig = {
|
|
env: {
|
|
GHOST_API_KEY: process.env.GHOST_API_KEY,
|
|
},
|
|
};
|
|
|
|
const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
|
enabled: process.env.ANALYZE === "true",
|
|
});
|
|
|
|
module.exports = withBundleAnalyzer(nextConfig);
|