Skip to content
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

[webpack-integration] Allow passing webpack instance to use #991

Merged
merged 1 commit into from
Oct 5, 2018

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Oct 3, 2018

The webpack-integration module was simply requiring webpack and expecting it to be the right version. This usually works, but there is no guarantees. With this change, we allow webpack to be injected, and use this from @sanity/server and @sanity/storybook. We fall back to regular require as before in order to maintain backwards compatibility.

@rexxars rexxars requested a review from bjoerge October 3, 2018 18:59
@rexxars rexxars merged commit b9ece0a into next Oct 5, 2018
@rexxars rexxars deleted the allow-webpack-inject branch October 5, 2018 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants