cs-2022-class-profile/next.config.js

20 lines
494 B
JavaScript
Raw Normal View History

2022-06-03 01:31:07 -04:00
/** @type {import('next').NextConfig} */
2022-12-30 20:20:55 -05:00
let basePath = process.env.NEXT_PUBLIC_BASE_PATH ? process.env.NEXT_PUBLIC_BASE_PATH : "";
2022-06-03 01:31:07 -04:00
const nextConfig = {
2022-12-30 20:20:55 -05:00
basePath: basePath,
assetPrefix: basePath + "/",
publicRuntimeConfig : { basePath: basePath },
// test comment
2022-06-03 01:31:07 -04:00
reactStrictMode: true,
2022-07-07 19:52:43 -04:00
trailingSlash: true,
2022-10-22 14:04:12 -04:00
// This image loader supports `next export`, for optimizing next <Image /> tags
images: {
loader: 'akamai',
2022-12-30 20:20:55 -05:00
path: basePath,
2022-10-22 14:04:12 -04:00
},
2022-06-03 01:31:07 -04:00
}
module.exports = nextConfig