appbaseio/reactivesearch

Verify and update tree shaking guide for babel 7

開放

#532 建立於 2018年9月21日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (487 個分叉)batch import
enhancementhacktoberfestperf :zap:web :spider_web:

倉庫指標

星標
 (4,835 顆星)
PR 合併指標
 (平均合併 3天 7小時) (30 天內合併 1 個 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

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

貢獻者指南