Ported from BearHuddleston's #93508. @hermes/shared gets fileUrlToNativePath, which reads a file: URL the way the URL implies: a UNC host or a drive letter is Windows, anything else POSIX. Previews, media and Electron's media protocol use it, so a drive-letter or UNC URL names the same file on every surface and a URL that encodes a separator names none. Co-authored-by: emozilla <emozilla@nousresearch.com>
23 lines
845 B
JSON
23 lines
845 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"strict": false,
|
|
"noImplicitAny": false,
|
|
"noImplicitThis": false,
|
|
"strictNullChecks": false,
|
|
"strictFunctionTypes": false,
|
|
"strictBindCallApply": false,
|
|
"strictPropertyInitialization": false,
|
|
"noUncheckedIndexedAccess": false,
|
|
"exactOptionalPropertyTypes": false,
|
|
"ignoreDeprecations": "6.0",
|
|
"composite": true,
|
|
"noEmit": false,
|
|
"declaration": true,
|
|
"rootDir": "..",
|
|
"outDir": "build/electron-types"
|
|
},
|
|
"include": ["electron", "product-identity.cjs", "product-identity.d.cts", "update-feed.cjs", "update-feed.d.cts", "../shared/src/ansi.ts", "../shared/src/data-url-read-max.ts", "../shared/src/external-url.ts", "../shared/src/file-url.ts", "../shared/src/translucency.ts"],
|
|
"exclude": ["src", "electron/**/*.e2e.mts"]
|
|
}
|