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 am using Sass with Webpack which allows me to prefix imports with ~ which tells webpack to load the file from node_modules or other directories defined in webpack.config.js. I was wondering if there were any way to tell sass to look up in those directories as well so I can get rid of the "File to import not found or unreadable" errors I am getting in Vim/Syntastic.
Example:
@import"~theme/common";
Generates the following error:
ui/PageHeader/styles.scss|1 error| File to import not found or unreadable: ~theme/common.
Syntastic version: 3.7.0-129 (Vim 704, Darwin)
Info for filetype: scss
Global mode: active
Filetype scss is active
The current file will be checked automatically
Available checker: sass
Currently enabled checker: sass
The current file will not be checked (file not readable / not local)
I am using Sass with Webpack which allows me to prefix imports with
~
which tells webpack to load the file from node_modules or other directories defined in webpack.config.js. I was wondering if there were any way to tell sass to look up in those directories as well so I can get rid of the "File to import not found or unreadable" errors I am getting in Vim/Syntastic.Example:
Generates the following error:
Related: vim-syntastic/syntastic#1799
The text was updated successfully, but these errors were encountered: