mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 13:16:16 -08:00
The frame pump's async/await (target es2015 + importHelpers) made webpack externalize tslib in main.preload.js. Sandboxed preloads can only require Electron's built-in module whitelist, so the entire preload script failed to load and window.electron disappeared for every run without the frame-copy flag. importHelpers:false for electron-backend keeps the preload bundle self-contained — and future async code in preload can no longer silently reintroduce the breakage. Verified live: sandboxed run now has the bridge, reports engine 'native' and frameCopyAvailable true. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
514 B
JSON
22 lines
514 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "../../dist/out-tsc",
|
|
"types": ["node"],
|
|
"importHelpers": false
|
|
},
|
|
"files": ["../../global.d.ts"],
|
|
"exclude": [
|
|
"**/*.spec.ts",
|
|
"**/*.spec-data.ts",
|
|
"**/*.test.ts",
|
|
"**/*.test-helpers.ts",
|
|
"jest.config.ts",
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.spec-data.ts",
|
|
"src/**/*.test.ts",
|
|
"src/**/*.test-helpers.ts"
|
|
],
|
|
"include": ["**/*.ts"]
|
|
}
|