-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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-beta.9: JSS Dependencies Complain About "Unknown [Babel] Plugin" When Omitting include
Properties in Rules
#304
Comments
There are two things:
|
@sapegin Thanks for the speedy reply! Re (1): I suspect I'm misunderstanding the Webpack best practice for building projects with external non-ES5 dependencies. I'll look further into this and see what's best for my real project; thanks for confirming this problem for me. Re (2): oh good, glad this particular issue wasn't just my babel-loader rule alone. |
|
(I also highly recommend @bebraw’s book on Webpack :—) |
JSS PR for reference: cssinjs/jss#415 |
Closing this issue since (1) I have obvious ideas about a workaround, really by way of config best practices (2) the JSS PR has been filed. Thanks again @sapegin, super helpful! |
I've prepared a reduced test case repo for this issue.
When using a custom Webpack config with rules that omit
include
properties, in particular for the JavaScript source files rule, it seems that several of Styleguidist's JSS dependencies cannot find certain Babel plugins.Assumed workaround: add
include
properties torules
configs. Would be nice to omitinclude
if possible, though.Please let me know if there are other details I've failed to provide! Thanks!
The text was updated successfully, but these errors were encountered: