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

Change extensions ordering in webpack config #4708

Merged
merged 2 commits into from Nov 5, 2018

Conversation

dumbNickname
Copy link
Contributor

@dumbNickname dumbNickname commented Nov 3, 2018

Issue:

Support for mjs was added in #4466 but my project revealed some isses with graphql libraries that use mjs.

What I did

According to hint given in comment: graphql/graphql-js#1272 (comment) I changed ordering of extensions in webpack configuration. After applying this change my project setup was working fine again.

How to test

Try to tun storybook on project containing libraries that use .mjs extensions - in my case those were graphql related libraries

Is this testable with Jest or Chromatic screenshots?
Probably not
Does this need a new example in the kitchen sink apps?
No
Does this need an update to the documentation?
No

If your answer is yes to any of these, please make sure to include it in your PR.

For maintainers only: Please tag your pull request with at least one of the following:
["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

Copy link
Member

@igor-dv igor-dv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@igor-dv igor-dv added the patch:yes Bugfix & documentation PR that need to be picked to main branch label Nov 5, 2018
@igor-dv igor-dv changed the base branch from master to next November 5, 2018 16:53
@igor-dv igor-dv merged commit e79b3af into storybookjs:next Nov 5, 2018
@dumbNickname
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug core patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants