mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
@libp2p/webrtc imports @ipshipyard/node-datachannel/polyfill which requires native C++ compilation. Stub provides ESM+CJS exports for both main and polyfill subpaths with no-op WebRTC classes. Also ignores pnpm-lock.yaml in cspell and copies stubs dir in Dockerfiles.
20 lines
445 B
JSON
20 lines
445 B
JSON
{
|
|
"name": "@ipshipyard/node-datachannel",
|
|
"version": "0.26.6",
|
|
"description": "Stub — native WebRTC module not needed for Lux explorer",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"require": "./index.cjs",
|
|
"import": "./index.js",
|
|
"default": "./index.js"
|
|
},
|
|
"./polyfill": {
|
|
"require": "./polyfill.cjs",
|
|
"import": "./polyfill.js",
|
|
"default": "./polyfill.js"
|
|
}
|
|
}
|
|
}
|