appbaseio/reactivesearch

Verify and update tree shaking guide for babel 7

Aberta

#532 aberto em 21 de set. de 2018

 (2 comentários) (0 reação) (0 responsável)JavaScript (487 forks)batch import
enhancementhacktoberfestperf :zap:web :spider_web:

Métricas do repositório

Stars
 (4.835 estrelas)
Métricas de merge de PR
 (Mesclagem média 3d 7h) (1 fundiu PR em 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

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

Guia do colaborador