ruleeeer commented on issue #8639:
URL: https://github.com/apache/skywalking/issues/8639#issuecomment-1061790485


   Do we need some other packaging tool (like `rollup`) to package the chunks 
in `cjs` and `esm` formats separately, and then differentiate them in 
package.json, like this
   ```
   main: 'index.cjs'
   module: 'index.mjs'
   ```
   This allows the runtime environment to determine whether to load `index.cjs` 
or `index.mjs` depending on the syntax used


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


Reply via email to