You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/03/08 13:43:00 UTC

[GitHub] [skywalking] ruleeeer commented on issue #8639: [Bug] Agent.start is not a function when I use esm syntax

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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org