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 config file. #566

Closed
wants to merge 3 commits into from
Closed

Webpack config file. #566

wants to merge 3 commits into from

Conversation

jennylia
Copy link

Making dist webpack file sourcemap debuggable for end users who build on
top of react-storybook.

This code review addresses issues of #457
Since the react-storybook is used as a toolkit for developers to build custom react components on top of it, changing this option allows a relatively light weight debug friendly version for other developers to build and debug their separate components built/demoed on react-storybook.

Making dist webpack file sourcemap debuggable for end users who build on
top of react-storybook.
@thani-sh
Copy link
Contributor

Hi @jennylia
The dist directory contains transpiled code. Can you change files in the src directory:
https://github.com/kadirahq/react-storybook/tree/master/src/server/config

This change should not be in the dist directory as mnmtanish suggested.

This reverts commit ecc30d8.
@jennylia
Copy link
Author

@mnmtanish Thank you for your comment.
I have reverted my previous commit and added a commit that changes in the webpack config file. I have tested this against "npm run prepublish" and verified that it indeed change the webpack.config file for the dist directory.

@arunoda
Copy link
Member

arunoda commented Oct 27, 2016

We covered this with: #577

@arunoda arunoda closed this Oct 27, 2016
@arunoda
Copy link
Member

arunoda commented Oct 27, 2016

Thanks for the PR.

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.

4 participants