appbaseio / appbaseio/reactivesearch

Verify and update tree shaking guide for babel 7

Offen
#532 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement hacktoberfest perf :zap: web :spider_web:
Vorherrschende Sprache
JavaScript
Sterne
4.9k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.