mirror of
https://github.com/exogen/t2-model-skinner.git
synced 2026-01-19 19:24:44 +00:00
17 lines
393 B
JavaScript
17 lines
393 B
JavaScript
module.exports = async () => {
|
|
const { getSkinConfig } = await import("./config/models.mjs");
|
|
const publicRuntimeConfig = await getSkinConfig();
|
|
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
productionBrowserSourceMaps: true,
|
|
publicRuntimeConfig,
|
|
};
|
|
|
|
if (process.env.NODE_ENV === "production") {
|
|
nextConfig.basePath = "/t2-model-skinner";
|
|
}
|
|
|
|
return nextConfig;
|
|
};
|