13 lines
303 B
TypeScript
13 lines
303 B
TypeScript
import type { NextConfig } from "next";
|
|
import path from "path";
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactCompiler: true,
|
|
basePath: '/viewer',
|
|
turbopack: {
|
|
root: process.env.NODE_ENV == "development" ? path.resolve(__dirname) : path.resolve(__dirname, '..'),
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|