kids-first / kf-uikit

🎨 Design System for Kids First
https://kf-uikit.netlify.com
Apache License 2.0
1 stars 1 forks source link

🔧 Export bablified js #121

Closed dankolbman closed 5 years ago

dankolbman commented 5 years ago

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.

dankolbman commented 5 years ago

UIKit Storybook for Review

Built with commit 7a7d37838ab27725ba6a5a305c3fcca4cc895c55

https://deploy-preview-121--kf-uikit.netlify.com

bdolly commented 5 years ago

@dankolbman not sure I'm following the issue. Are you saying that the jest testrunner env has diff babel configs ?

dankolbman commented 5 years ago

@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.