Skip to content

Commit 993bb02

Browse files
committed
update redirects
1 parent 9698310 commit 993bb02

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

next.config.mjs

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,23 @@ const config = {
2323
images: {
2424
domains: [],
2525
},
26-
// webpack: (config, { isServer }) => {
27-
// config.optimization.minimize = false;
28-
29-
// Add source map for better debugging
30-
// config.devtool = 'source-map';
31-
32-
// return config;
33-
// },
26+
swcMinify: false,
27+
webpack: (config) => {
28+
config.optimization.minimize = false;
29+
return config;
30+
},
31+
redirects: () => [
32+
{
33+
source: "/address",
34+
destination: "/stacks/stacks.js/concepts/accounts-and-addresses",
35+
permanent: true,
36+
},
37+
{
38+
source: "/what-is-a-wallet",
39+
destination: "/stacks/stacks.js/concepts/private-keys",
40+
permanent: true,
41+
},
42+
],
3443
};
3544

3645
/**

0 commit comments

Comments
 (0)