keystonejs/keystone-classic
在 GitHub 查看babel settings in root directory are used for keystone module
Open
#4,488 创建于 2017年10月30日
bughelp wanted
仓库指标
- Star
- (14,656 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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 |