appbaseio/reactivesearch

Verify and update tree shaking guide for babel 7

Open

#532 opened on Sep 21, 2018

 (2 comments) (0 reactions) (0 assignees)JavaScript (487 forks)batch import
enhancementhacktoberfestperf :zap:web :spider_web:

Repository metrics

Stars
 (4,835 stars)
PR merge metrics
 (Avg merge 3d 7h) (1 merged PR in 30d)

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

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

Contributor guide