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

贡献者指南