wilkie commented on issue #16709:
URL: https://github.com/apache/echarts/issues/16709#issuecomment-3079714447

   Yes, when using the minimized entrypoints with something bundled, it doesn't 
seem to work. It's expecting common-js and it is getting a module. There would 
need to be a build of the package where each entrypoint has a common-js build 
and then the `package.json` would express this in the `exports` section as 
something like:
   
   ```
     "exports": {
       ...
       "./charts": {
         "import": "./dist/charts.js", // The normal build that already exists
         "require": "./dist/charts.cjs" // A new exposed build that is 
pre-transformed
       },
       ...
     }
   ```
   
   I think.


-- 
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]

Reply via email to