diff --git a/next.config.js b/next.config.js index 4e417b7f..fc60c38f 100644 --- a/next.config.js +++ b/next.config.js @@ -1,11 +1,20 @@ /** @type {import('next').NextConfig} */ const path = require('path') -module.exports = {reactStrictMode: true, +module.exports = { + reactStrictMode: true, sassOptions: { prependData: '@import "variables";', includePaths: [path.join(__dirname, 'styles')], }, + async rewrites() { + return [ + { + source: '/', + destination: '/new' + } + ] + }, webpack(config) { config.module.rules.push({ test: /\.svg$/, @@ -18,4 +27,3 @@ module.exports = {reactStrictMode: true, return config; }, }; -