if I remove the line with that customization and just leave the other 2, it works fine.
with '@collapse-content-padding:': '0px' , I get this error:
./node_modules/antd/dist/antd.less (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-9-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-9-3!./node_modules/less-loader/dist/cjs.js??ref--5-oneOf-9-4!./node_modules/antd/dist/antd.less)
Error: resolve-url-loader: CSS error
file://path/to/project/node_modules/antd/lib/collapse/style/index.less:96:6: Double colon
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser
I am trying to override
@collapse-content-padding
This is my
craco.config.js
:if I remove the line with that customization and just leave the other 2, it works fine.
with
'@collapse-content-padding:': '0px' ,
I get this error:fwiw, here is the antd
.less
it is referencing:Somehow this customization is putting in a second colon? I don't get what I am doing wrong or why the other 2 customized variables work fine...