This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
[BUG]编译错误 'import' and 'export' may only appear at the top level #794
Labels
bug
Something isn't working
bug 描述
编译的时候后报错
复现步骤
用的examples里面 redux 的demo,添加babel-preset-remax后,编译报错。
复现代码
(63): node_modules/react-reconciler/index.js
[babel]: /Users/mindasset/workspace/qdhk/Remax/remax-qdhk/node_modules/symbol-observable/es/index.js: 'import' and 'export' may only appear at the top level (5:0)
var es = commonjsHelpers.createCommonjsModule(function (module) {
/* global window */
import ponyfill from './ponyfill.js';
var root;
版本信息:
其他信息
The text was updated successfully, but these errors were encountered: