appbaseio/reactivesearch
Verify and update tree shaking guide for babel 7
Offen
#532 geöffnet am 21.09.2018
enhancementhacktoberfestperf :zap:web :spider_web:
Repository-Metriken
- Stars
- (4.835 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 3T 7h) (1 gemergte PR in 30 T)
Beschreibung
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