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
We use webpack for bundling less files and webpack supports the "~" prefix for imports as a shortcut for the "node_modules" directory. Unfortunately, lesslint doesn't understand this syntax which results in the following error:
Error parsing html/less/themes/test.less: '~lesshat/build/lesshat.less' wasn't found
Is there some way to configure lesslint so that I can say something like: {paths: {"~lesshat/build/": "./node_modules/lesshat/build/"}}
The text was updated successfully, but these errors were encountered:
Unfortunately, this is a parse error from the less parser itself. It's possible that we may be using an outdated less parser. What does webpack use to parse their less files and add that custom path resolution?
We use webpack for bundling less files and webpack supports the "~" prefix for imports as a shortcut for the "node_modules" directory. Unfortunately, lesslint doesn't understand this syntax which results in the following error:
Error parsing html/less/themes/test.less: '~lesshat/build/lesshat.less' wasn't found
Is there some way to configure lesslint so that I can say something like:
{paths: {"~lesshat/build/": "./node_modules/lesshat/build/"}}
The text was updated successfully, but these errors were encountered: