fedisearch/application/next.config.js

29 wiersze
436 B
JavaScript

const config = {
experimental: {
appDir: true,
esmExternals: true
},
webpack (config) {
config.module.rules.push({
test: /\.svg$/,
use: ['@svgr/webpack']
})
return config
},
async redirects () {
return [
{
source: '/',
destination: '/feeds',
permanent: true
}
]
},
typescript: {
tsconfigPath: '../tsconfig.json'
}
}
export default config