@ -17,9 +17,6 @@ const nextConfig = {
env: {
SANDPACK_BARE_COMPONENTS: process.env.SANDPACK_BARE_COMPONENTS,
},
async redirects() {
return [];
webpack: (config, {dev, isServer, ...options}) => {
if (process.env.ANALYZE) {
const {BundleAnalyzerPlugin} = require('webpack-bundle-analyzer');
@ -4,6 +4,11 @@
"trailingSlash": false,
"redirects": [
{
"source": "/:path*(\\.html)",
"destination": "https://legacy.reactjs.org/:path*.html",
"permanent": false
"source": "/tips/controlled-input-null-value.html",
"destination": "/docs/forms.html#controlled-input-null-value",