2023-01-03 20:20:08 +00:00
|
|
|
const config = {
|
|
|
|
experimental: {
|
|
|
|
appDir: true,
|
|
|
|
esmExternals: true
|
|
|
|
},
|
2022-02-05 10:55:34 +00:00
|
|
|
webpack (config) {
|
|
|
|
config.module.rules.push({
|
|
|
|
test: /\.svg$/,
|
|
|
|
use: ['@svgr/webpack']
|
|
|
|
})
|
|
|
|
|
|
|
|
return config
|
|
|
|
},
|
|
|
|
async redirects () {
|
2022-02-01 20:54:48 +00:00
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: '/',
|
|
|
|
destination: '/feeds',
|
2022-02-05 10:55:34 +00:00
|
|
|
permanent: true
|
|
|
|
}
|
2022-02-01 20:54:48 +00:00
|
|
|
]
|
2022-11-03 18:38:01 +00:00
|
|
|
},
|
|
|
|
typescript: {
|
|
|
|
tsconfigPath: '../tsconfig.json'
|
2022-02-05 10:55:34 +00:00
|
|
|
}
|
2022-02-01 20:54:48 +00:00
|
|
|
}
|
2023-01-03 20:20:08 +00:00
|
|
|
|
|
|
|
export default config
|