appbaseio / appbaseio/reactivesearch

Verify and update tree shaking guide for babel 7

Open
#532 2 comments 0 reactions 0 assignees View on GitHub
enhancement hacktoberfest perf :zap: web :spider_web:
Dominant language
JavaScript
Stars
4.9k
Forks
478
PR merge metrics
No merged PRs 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](https://user-images.githubusercontent.com/6682655/45891219-a7c89880-bde2-11e8-8a8a-491c103fa846.png)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.