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 摘要。