Closed dankolbman closed 5 years ago
UIKit Storybook for Review
Built with commit 7a7d37838ab27725ba6a5a305c3fcca4cc895c55
@dankolbman not sure I'm following the issue. Are you saying that the jest testrunner env has diff babel configs ?
@bdolly yes that would seem to be the case. Regardless, I would expect that the bablified build would be getting picked up anyway, instead of the source which this seems to indicate is happening.
This exports the bablified js from the project root so that it is picked up instead of the es6 src. It seems that jest in cra has a different babel config and won't run the node-modules through babel, unlike the dev server.