mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 04:53:41 +00:00
25 lines
441 B
JavaScript
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;
|