fix: electron main and renderer process detection #775
Annotations
9 errors
build (18.x)
Process completed with exit code 1.
|
build (20.x):
src/lib/KeepaliveManager.ts#L2
Dependency cycle via ./is-browser:1=>./client:1
|
build (20.x):
src/lib/client.ts#L42
Dependency cycle via ./get-timer:2=>./is-browser:1
|
build (20.x):
src/lib/client.ts#L408
Expected blank line between class members
|
build (20.x):
src/lib/get-timer.ts#L1
Dependency cycle via ./client:1=>./KeepaliveManager:42
|
build (20.x):
src/lib/is-browser.ts#L1
Dependency cycle detected
|
build (20.x):
src/lib/is-browser.ts#L4
Replace `typeof·window·!==·'undefined'·&&·typeof·window.document·!==·'undefined'` with `(⏎↹↹typeof·window·!==·'undefined'·&&·typeof·window.document·!==·'undefined'⏎↹)`
|
build (20.x):
src/lib/is-browser.ts#L19
Replace `·` with `⏎↹`
|
build (20.x)
Process completed with exit code 1.
|