From 4750e2fac4953eb40003572b2e7310bad3e7075c Mon Sep 17 00:00:00 2001 From: Sondre Larsen Ovrid Date: Mon, 3 Apr 2023 09:18:25 +0200 Subject: [PATCH] =?UTF-8?q?TC-352=20Tilpass=20less-options=20for=20=C3=A5?= =?UTF-8?q?=20v=C3=A6re=20kompatibel=20med=20gamle=20less-defaults?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref: https://github.com/less/less.js/pull/3573#discussion_r563534599 --- craco.config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/craco.config.js b/craco.config.js index f2ae2b70..7d80875e 100644 --- a/craco.config.js +++ b/craco.config.js @@ -1,5 +1,14 @@ module.exports = { plugins: [ - { plugin: require('craco-less') } + { + plugin: require('craco-less'), + options: { + lessLoaderOptions: { + lessOptions: { + math: "always" + } + } + } + } ] };