File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
packages/signals/signals-runtime/src Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ ### Browser Support
2+
3+ | Format | Description | Path |
4+ | --------| -------------| ------|
5+ | ` cjs ` (CommonJS modules) | For npm library users | ` /dist/cjs/index.js ` |
6+ | ` esm ` (ES6 modules) | For npm library users | ` /dist/esm/index.js ` |
7+ | ` global ` (bundle) | This function simple exposes ` globalThis.SignalsRuntime ` | ` /dist/global/index.js ` |
8+ | ` umd ` (umd bundle) | When a UMD bundle is required | ` /dist/umd/analytics-onetrust.umd.js ` |
Original file line number Diff line number Diff line change 11import { SignalsRuntime } from './index'
22
3+ // the purpose of this is to create an artifact that can be uploaded to a CDN used in the mobile runtime, as well as the editor browser.
4+ // the web version can use this package directly.
5+
36// @ts -ignore
4- window . SignalsRuntime = SignalsRuntime
7+ globalThis . SignalsRuntime = SignalsRuntime
You can’t perform that action at this time.
0 commit comments