From e9128d5a072c1b956360f36bf27e2a03449be67e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 12 Dec 2021 19:40:51 +0100 Subject: build: add sass config --- next.config.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'next.config.js') 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( { -- cgit v1.2.3