But it's likely to be used for specific use cases - like compute-intensive apps
"browser": "./browser/main.js",
"browser": { "module-a": false, "module-b": "./shims/module-b.js", Â "./server.js": "./shims/client.js", }
is collaborating on API interoperability of web platform APIs across runtimes.
"main": "./dist/main.js",
"main": "./dist/main.js",
"exports": { "import": "./dist/main.js", "require": "./dist/main.cjs" }
// dist/index.cjs
exports.name = 'value';
// dist/index.mjs
import cjsModule from './index.cjs';
export const name = cjsModule.name;
"types": "./dist/types.d.ts",
@types/your-package-name
"sourceMap": true,
"inlineSourceMap": true,
"inlineSources": true,
"sourceRoot": "src",
import { trace } from '@opentelemetry/api'; const tracer = trace.getTracer("name", "0.1.0");
const span = tracer.startSpan("span-name"); // do some work span.end();
@opentelementry/instrumentation-pkg-name
@scope-name/opentelemetry-instrumentation