You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
less@4.1.2
less-loader@10.2.0
webpack@5.68.0
enhanced-resolve@5.9.2
The text was updated successfully, but these errors were encountered:
YourWildDad
changed the title
Can't use package.json imports property to import subpath module.
Can't use package.json property imports to import subpath module.
Apr 20, 2022
Hello , I found the bug and made the changes in local repository as well as when I ran the test , all test worked fine, My question is, how do I ensure that the error : #style/mixins' wasn't found , is resolved or not?
My package.json :
when i use less-loader to load less file like:
i got error like:
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:
My packages version is:
The text was updated successfully, but these errors were encountered: