We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When working with webpack, we use resolve, as such:
resolve: { // Enable resolving modules relative to these paths root: [path.join(__dirname, 'lib')], }
Then import files like so: import state from 'api/state';
The problem is that npm-install-webpack-plugin tries to install the node module called api.
I would suggest only installing files that webpack can't resolve (maybe there's a hook for that?).
The text was updated successfully, but these errors were encountered:
I do the same thing, and this is already tracked here #17.
Sorry, something went wrong.
No branches or pull requests
When working with webpack, we use resolve, as such:
Then import files like so:
import state from 'api/state';
The problem is that npm-install-webpack-plugin tries to install the node module called api.
I would suggest only installing files that webpack can't resolve (maybe there's a hook for that?).
The text was updated successfully, but these errors were encountered: