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
How to reuse webpacke resolve inside another package configuraiton #299
Comments
You need provide options for |
@alexander-akait Thx for the response do you knowhow. Do you know how I can inject the options that it are the same which my webpack configuration is using. I'm trying to avoid to duplicate things here from my webpack configuration. |
webpack loaders have |
@alexander-akait Thx for all your help! Is that available in some case outside, because postcss is in our cases configured in the |
This is not a issue more a question. Currently the postcss import plugin is loading the css file itself. They have an option of resolving the postcss manually e.g.:
As you see it looks really hacky.
In the webpack resolve I'm just using for other files something like this e.g.:
This work like expected. But only for the files imported in
.js
files not over the@import
. I'm now trying to use the resolver directly but I'm always getting strange errors like missing property or indexOf when I'm going with:So my question is if somebody have experience with using the resolver of webpack inside the postcss import plugin
The text was updated successfully, but these errors were encountered: