mirror of
https://github.com/exogen/t2-model-skinner.git
synced 2026-01-20 03:34:47 +00:00
15 lines
409 B
TypeScript
15 lines
409 B
TypeScript
import { NextConfig } from "next";
|
|
import withBundleAnalyzer from "@next/bundle-analyzer";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "export",
|
|
distDir: process.env.NODE_ENV === "production" ? "docs" : undefined,
|
|
basePath: "/t2-model-skinner",
|
|
assetPrefix: "/t2-model-skinner/",
|
|
trailingSlash: true,
|
|
};
|
|
|
|
export default withBundleAnalyzer({ enabled: process.env.ANALYZE === "true" })(
|
|
nextConfig
|
|
);
|