Skip to content

Commit 4750e2f

Browse files
committed
TC-352 Tilpass less-options for å være kompatibel med gamle less-defaults
Ref: less/less.js#3573 (comment)
1 parent 47d2f34 commit 4750e2f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

craco.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
module.exports = {
22
plugins: [
3-
{ plugin: require('craco-less') }
3+
{
4+
plugin: require('craco-less'),
5+
options: {
6+
lessLoaderOptions: {
7+
lessOptions: {
8+
math: "always"
9+
}
10+
}
11+
}
12+
}
413
]
514
};

0 commit comments

Comments
 (0)