aboutsummaryrefslogtreecommitdiffstats
path: root/next.config.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-12 19:40:51 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-12 19:40:51 +0100
commite9128d5a072c1b956360f36bf27e2a03449be67e (patch)
tree5ececf803c170a94b1c990c5a0a9e464f789f4d5 /next.config.js
parent9e2451dc62a13811ea26b1354f2bf316bf62e60d (diff)
build: add sass config
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js
index 9c2debe..dfe6fe3 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,3 +1,4 @@
+const path = require('path');
const { locales } = require('./lingui.config');
/** @type {import('next').NextConfig} */
@@ -7,6 +8,12 @@ module.exports = {
defaultLocale: 'fr',
},
reactStrictMode: true,
+ sassOptions: {
+ includePaths: [
+ path.join(__dirname, 'styles'),
+ path.join(__dirname, 'node_modules'),
+ ],
+ },
webpack: (config) => {
config.module.rules.push(
{