hexabot/frontend/next.config.mjs

25 lines
441 B
JavaScript
Raw Normal View History

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