appbaseio / appbaseio/reactivesearch

Verify and update tree shaking guide for babel 7

Đang mở
#532 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement hacktoberfest perf :zap: web :spider_web:
Ngôn ngữ chính
JavaScript
Star
4.9k
Fork
478
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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](https://user-images.githubusercontent.com/6682655/45891219-a7c89880-bde2-11e8-8a8a-491c103fa846.png)

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.