appbaseio / appbaseio/reactivesearch

Verify and update tree shaking guide for babel 7

未關閉
#532 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement hacktoberfest perf :zap: web :spider_web:
主要語言
JavaScript
星號
4.9k
分支
478
PR 合併指標
30 天內沒有已合併 PR

描述

**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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。