Skip to content

Commit

Permalink
update redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwaits committed Dec 3, 2024
1 parent 9698310 commit 993bb02
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,23 @@ const config = {
images: {
domains: [],
},
// webpack: (config, { isServer }) => {
// config.optimization.minimize = false;

// Add source map for better debugging
// config.devtool = 'source-map';

// return config;
// },
swcMinify: false,
webpack: (config) => {
config.optimization.minimize = false;
return config;
},
redirects: () => [
{
source: "/address",
destination: "/stacks/stacks.js/concepts/accounts-and-addresses",
permanent: true,
},
{
source: "/what-is-a-wallet",
destination: "/stacks/stacks.js/concepts/private-keys",
permanent: true,
},
],
};

/**
Expand Down

0 comments on commit 993bb02

Please sign in to comment.