-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support for Webpack's aliases / modulesDirectories #1
Comments
I managed to implement this, still need some refactor, but will try to open PR tomorrow :) |
Great idea! I'd add some resolve function call in |
+1 this can be great. Also, nice work @princed. Although, how do I use this? I'm using webpack's css-loader. |
@kumarharsh Thanks! See usage examples in README, you have to use postcss-loader. |
@princed here's my config:
Also, I'm guessing the part in the README about:
is optional, and has to be written in the webpack configuration? But when I use |
@rpunkfu can you share some version of the working code? I'd like to use it too in my project, but am not really fluent in webpack/postcss internals. Maybe I can help a little in the refactor... |
I managed to implement this feature but, I didnt manage to get hot reload working, when changing file imported via |
I deleted code, but maybe I will try to work on it again and share code for others, who doesnt care about feature mentioned above :) |
Shipped in 1.2.0 |
@princed I'm still getting the same error |
Awesome plugin, would be nice to support aliases / modulesDirectories :)
The text was updated successfully, but these errors were encountered: