React + Less + customize-cra

97 Views Asked by At

I have two files with variables - src/lessVariables/Blue.less and src/lessVariables/Neutral.less

I try to import variables from files

@import "./src/lessVariables/Blue.less"
.Container { background: @blue500 }

And I have "Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths" warning in terminal

How to fix this?

0

There are 0 best solutions below