when the project component folder level is relatively deep, when the less file introduces the global less variable configuration file, you need to define a long relative path. For example, ".. / styles/variables"
not only needs to calculate the level, but also needs to make changes accordingly when the file location is changed.
if you can define a global globalVar, such as @ src: "current webpack project directory"
by configuring less-loader. Then import the less file @ {src} / styles/variables
like this when referencing, and the coding will be more comfortable.
are there any current plans?