hexabot/frontend/next.config.mjs
2024-09-20 16:34:37 +01:00

25 lines
441 B
JavaScript

/** @type {import('next').NextConfig} */
import withTM from "next-transpile-modules";
const nextConfig = withTM(["hexabot-widget"])({
async rewrites() {
return [
{
source: "/config",
destination: "/api/config",
},
];
},
webpack(config, _options) {
return config;
},
publicRuntimeConfig: {
lang: {
default: "en",
},
},
output: "standalone",
});
export default nextConfig;