-
-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Labels
feature requestFeature requestFeature request
Description
Suggest an idea for Knip
It would be great, if Knip could detect that Svelte import:
import { env } from '$env/dynamic/private';Currently I get:
Unresolved imports (1)
$env/dynamic/private src/lib/server/db/index.ts:4:21
I tried that, but it did not help:
// Knip finds and fixes unused dependencies, exports and files.
// https://knip.dev/reference/dynamic-configuration
import type { KnipConfig } from 'knip';
const config: KnipConfig = {
ignoreUnresolved: ['$env/dynamic/private']
};
export default config;Metadata
Metadata
Assignees
Labels
feature requestFeature requestFeature request