-
Notifications
You must be signed in to change notification settings - Fork 2
/
next.config.js
35 lines (32 loc) · 1015 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/** @type {import('next').NextConfig} */
const withTranslateRoutes = require('next-translate-routes/plugin');
const nextConfig = withTranslateRoutes({
reactStrictMode: true,
i18n: {
locales: ['en', 'fr'],
defaultLocale: 'en'
},
translateRoutes: {
debug: false,
fallbackLng: {
default: ['en']
}
},
sassOptions: {
additionalData: `
@import
'styles/settings/_config.scss',
'styles/settings/_config.colors.scss',
'styles/settings/_config.eases.scss',
'styles/settings/_config.typography.scss',
'styles/tools/mixins/_button.scss',
'styles/tools/mixins/_container.scss',
'styles/tools/mixins/_grid.scss',
'styles/tools/mixins/_form.scss',
'styles/tools/mixins/_typography.scss',
'styles/tools/_functions.scss',
'styles/objects/_mediaq.scss';
`
}
});
module.exports = nextConfig;