- Enhanced the Electron Vite configuration by modifying the externalizeDepsPlugin to exclude specific dependencies, improving build performance and compatibility. - Updated the knip.json file to include additional dependencies in the ignore list, ensuring cleaner dependency management. This commit improves the configuration setup for the Electron application, optimizing the handling of external dependencies.
20 lines
570 B
JSON
20 lines
570 B
JSON
{
|
|
"$schema": "https://unpkg.com/knip@next/schema.json",
|
|
"entry": [
|
|
"src/main/index.ts",
|
|
"src/preload/index.ts",
|
|
"src/renderer/main.tsx",
|
|
"electron.vite.config.ts",
|
|
"remotion/index.ts",
|
|
"remotion/**/*.{ts,tsx}"
|
|
],
|
|
"project": ["src/**/*.{ts,tsx}!", "remotion/**/*.{ts,tsx}!"],
|
|
"ignore": ["tsconfig*.json"],
|
|
"paths": {
|
|
"@main/*": ["./src/main/*"],
|
|
"@renderer/*": ["./src/renderer/*"],
|
|
"@preload/*": ["./src/preload/*"],
|
|
"@shared/*": ["./src/shared/*"]
|
|
},
|
|
"ignoreDependencies": ["@remotion/light-leaks", "remotion"]
|
|
}
|