You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReferenceError: exports is not defined
at node_modules/rc-echart/lib/Chart.js (Chart.js:24:23)
at __init (chunk-7REXU52E.js?v=eb06a9c8:16:56)
at node_modules/rc-echart/lib/index.js (index.js:17:14)
at __require2 (chunk-7REXU52E.js?v=eb06a9c8:19:50)
at index.js:19:38
Line 24 in Chart.js is:
Object.defineProperty(exports, "__esModule", { value: true });
I have
"type": "module"
in package.json and tsconfig is:Not sure why it transpiled into CommonJs?
The text was updated successfully, but these errors were encountered: