keystonejs/keystone-classic

babel settings in root directory are used for keystone module

Offen

#4.488 geöffnet am 30.10.2017

 (4 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (2.288 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (14.656 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Expected behavior

Admin.js should not fail with errors

Actual/Current behavior

When using the transform-runtime plugin for babel admin.js crashes with

TypeError: $export is not a function

as babel-polyfill is reading .babelrc or package.json.

Steps to reproduce the actual/current behavior

create a babelrc file with plugin: transform-runtime

Environment

Software Version
Keystone 4.0.0-beta.7
Node 6.10

Contributor Guide