ruleeeer commented on issue #8639: URL: https://github.com/apache/skywalking/issues/8639#issuecomment-1061858007
> > 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 sounds good to me, are you willing to open a pull request? @ruleeeer @kezhenxu94 No problem, I'll try to use `rollup` packaging -- 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]
