Linjianwei99 opened a new issue, #19078:
URL: https://github.com/apache/echarts/issues/19078
### Version
5.4.3
### Link to Minimal Reproduction
no
### Steps to Reproduce
1、import * as echarts from 'echarts/core'
2、get error:
export * from './lib/export/core.js';
^^^^^^
SyntaxError: Unexpected token 'export'
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js
(node:internal/modules/cjs/loader:1159:10)
### Current Behavior
export * from './lib/export/core.js';
^^^^^^
SyntaxError: Unexpected token 'export'
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js
(node:internal/modules/cjs/loader:1159:10)
### Expected Behavior
no error
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]