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
5.0.0-rc.1 (or earlier): need Webpack config externals
support
#357
Comments
externals
support externals
support
You can still use |
We may rename it to |
@sapegin I see…turns out I had (quite happily) migrated away from |
I think removing |
@sapegin Yup, I agree! My main concern is that there's a way to do this at all, long-term. Again, that seems to be a 👎🏼 on entirely deprecating |
Let’s keep this issue open — I may do it before the final release ;-) |
Out in react-styleguidist@5.0.0-rc.2 ;-) |
The Problem
In short, losing support for
externals
in the Webpack config passed to Styleguidist is a blocker, and would potentially keep our internal style guide dependent on rsgv5.0.0-beta.13
.At least one of our components depends on a library which:
<script>
tag or RequireJS<script>
tag or RequireJSPassing
externals
through to Styleguidist, plus a modified HTML template, has worked around these limitations in the past. Unfortunately, this workaround is no longer possible inv5.0.0-rc.1
. It did work as recently as react-styleguidistv5.0.0-beta.13
, however.Your style guide config (
styleguide.config.js
).Please refer to the Reproducible Demo project (direct link to its
styleguide.config.js
).Testing Environment
Reproducible Demo
kohlmannj/styleguidist-5.0.0-rc.1_externals-example
Thank you!
The text was updated successfully, but these errors were encountered: