friends-best/next.config.js

22 lines
474 B
JavaScript
Raw Permalink Normal View History

2021-07-23 18:35:41 +00:00
const { i18n } = require('./next-i18next.config');
2021-07-23 16:28:40 +00:00
2021-07-23 16:14:54 +00:00
module.exports = {
2022-01-01 22:39:27 +00:00
swcMinify: true,
2021-07-23 18:35:41 +00:00
i18n,
reactStrictMode: true,
rewrites: [
{
source: '/fonts/ubuntu',
destination: 'https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap'
},
{
source: '/fonts/goog/api',
destination: 'https://fonts.googleapis.com'
},
{
source: '/fonts/goog/static',
destination: 'https://fonts.gstatic.com'
},
]
2021-07-23 16:14:54 +00:00
}