appbaseio/reactivesearch

Verify and update tree shaking guide for babel 7

Aperta

#532 aperta il 21 set 2018

 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (487 fork)batch import
enhancementhacktoberfestperf :zap:web :spider_web:

Metriche repository

Star
 (4835 stelle)
Metriche merge PR
 (Merge medio 3g 7h) (1 PR mergiata in 30 g)

Descrizione

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: image

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

Guida contributor