Open
Description
My package.json :
{
...,
"imports": {
"#style/*": "./src/style/*"
}
...
}
when i use less-loader to load less file like:
@import (refrence) "#style/mixins"
i got error like:
'#style/mixins' wasn't found. Tried - .less
Error in D:\Development\xxx\index.module.less (line 2, column 0)
I think less throws an error before using the FileManager to resolve the file, making it impossible to use the webpack resolver to resolve the real path.
When I change the code to the following, everything works fine:
@import (refrence) "~#style/mixins"
My packages version is: