Styling of home

This commit is contained in:
Sebastian Seedorf
2022-08-22 17:04:39 +02:00
parent 537a18fb88
commit d964748a66
55 changed files with 1791 additions and 341 deletions

View File

@@ -21,6 +21,22 @@ const nextConfig = {
locales: ['en', 'de', 'nl'],
defaultLocale: 'en',
localeDetection: false
},
webpack: config => {
config.module?.rules?.forEach(rule => {
rule.oneOf?.forEach(oneOf => {
const loader = oneOf?.use
if (!loader || !Array.isArray(loader)) return
loader.forEach(l => {
if (l.loader?.includes('/css-loader') && l.options.modules) {
// mde-ui needs camelCase as well as BEM, so preserve both
l.options.modules.exportLocalsConvention = 'camelCase'
}
})
})
})
return config
}
}