appbaseio/reactivesearch
Verify and update tree shaking guide for babel 7
Ouverte
#532 ouverte le 21 sept. 2018
enhancementhacktoberfestperf :zap:web :spider_web:
Métriques du dépôt
- Stars
- (4 835 étoiles)
- Métriques de merge PR
- (Merge moyen 3j 7h) (1 PR mergée en 30 j)
Description
Issue Type:
Enhancement
Platform:
Web
Description:
Currently we recommend using babel-plugin-direct-import. I'm noticing issues making it work with babel 7. We would need to verify a setup with babel 7 for tree shaking and update the docs.
Reactivesearch version: x.y.z
2.9.0
Anything else:
Currently it throws an error like:

Workaround for this is to avoid tree-shaking with babel 7