This will make it easier to add new entrypoints in the future without having to change the vite config
21 lines
563 B
TypeScript
21 lines
563 B
TypeScript
// Copyright 2024, 2025 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
// Please see LICENSE files in the repository root for full details.
|
|
|
|
import type { KnipConfig } from "knip";
|
|
|
|
export default {
|
|
entry: ["src/entrypoints/*", "src/routes/*"],
|
|
ignore: [
|
|
"src/gql/*",
|
|
"src/routeTree.gen.ts",
|
|
".storybook/locales.ts",
|
|
"i18next.config.ts",
|
|
],
|
|
ignoreDependencies: [
|
|
// This is used by the tailwind PostCSS plugin, but not detected by knip
|
|
"postcss-nesting",
|
|
],
|
|
} satisfies KnipConfig;
|