⬆️ v3.0.0 (#704)

This commit is contained in:
Luke Vella 2023-06-19 17:17:00 +01:00 committed by GitHub
parent 735056f25f
commit c22b3abc4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
385 changed files with 19912 additions and 5250 deletions

View file

@ -13,7 +13,12 @@ const nextConfig = {
i18n: i18n,
productionBrowserSourceMaps: true,
output: "standalone",
transpilePackages: ["@rallly/backend", "@rallly/icons"],
transpilePackages: [
"@rallly/backend",
"@rallly/icons",
"@rallly/ui",
"@rallly/tailwind-config",
],
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
@ -33,14 +38,15 @@ const nextConfig = {
destination: "https://support.rallly.co",
permanent: true,
},
];
},
async rewrites() {
return [
{
source: "/profile",
destination: "/settings/profile",
permanent: true,
},
{
source: "/",
destination: "/home",
destination: "/polls",
permanent: false,
},
];
},