mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
Remove redundant redirects config
This commit is contained in:
@@ -16,10 +16,6 @@ const config = {
|
||||
reactStrictMode: true,
|
||||
serverExternalPackages: ["typescript", "twoslash"],
|
||||
|
||||
async redirects() {
|
||||
return redirectsConfig;
|
||||
},
|
||||
|
||||
webpack(config) {
|
||||
config.resolve.alias["@/bknd"] = path.resolve(__dirname, "../app/src");
|
||||
config.resolve.alias["@"] = path.resolve(__dirname);
|
||||
@@ -32,6 +28,7 @@ const config = {
|
||||
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
config.output = "standalone";
|
||||
config.redirects = async () => redirectsConfig;
|
||||
config.rewrites = async () => rewritesConfig;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user