-
-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not import module which locates at includePaths directories #113
Conversation
…not prefix with underscore to libsass result
Thx for the pull-request. Please add tests that demonstrate what kind of bug you were trying to fix, so that future code changes won't regress this feature. I'll review the PR as soon as I found some time. |
sorry for no tests.
/home/work/workspace/sass-loader/sass-loader/node_modules/node-sass/lib/index.js:409 Does it mean it has bugs in the master or i ran he wrong way |
Update tests and feature demenstration. |
That looks good! 👍 I'll merge (and refactor) and publish it in a few days. Sorry, I was not aware that the tests were not running for people cloning a fresh copy of the repository. It should work for everyone without extra work just by running |
can not import module which locates at includePaths directories
Shipped with 1.0.3 |
bug or feature:
can not import modules locates at **includePaths" option.
solution
when webpack resolver fails to resolve modules, pass import as-is to node-sass instead of import as-is prefixed with underscore.
Thus the loader can resolve modules using webpack resolver and from libsass includePaths.
see issue #110 #98 for more details.