mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
17 lines
386 B
JavaScript
17 lines
386 B
JavaScript
const isProd = process.env.NODE_ENV === "production";
|
|
const assetPrefix = isProd ? '/jsonvisio.com' : ''
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
basePath: '/jsonvisio.com',
|
|
exportPathMap: () => ({
|
|
'/': { page: '/' },
|
|
'/editor': { page: '/editor' },
|
|
}),
|
|
assetPrefix,
|
|
reactStrictMode: true,
|
|
trailingSlash: true,
|
|
};
|
|
|
|
module.exports = nextConfig;
|