adds $pkg alias
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
__internal_audio_metadata,
|
__internal_audio_metadata,
|
||||||
__internal_audio_src,
|
__internal_audio_src,
|
||||||
} from '$lib/context/audio';
|
} from '$lib/context/audio';
|
||||||
import { isBoolean, isNumber } from '$lib/types/type-guards';
|
|
||||||
import type { PlayerElement } from '$lib/types/types';
|
import type { PlayerElement } from '$lib/types/types';
|
||||||
|
import { isBoolean, isNumber } from '$pkg/type-guards';
|
||||||
|
|
||||||
let element: PlayerElement;
|
let element: PlayerElement;
|
||||||
let currentTime = 0;
|
let currentTime = 0;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { PlayerElement, PlayerMetadata } from '$lib/types/types';
|
import type { PlayerElement, PlayerMetadata } from '$lib/types/types';
|
||||||
import { info, warn } from '$lib/utility/package/log';
|
|
||||||
import { secondsToTimestamp } from '$lib/utility/seconds-to-timestamp';
|
import { secondsToTimestamp } from '$lib/utility/seconds-to-timestamp';
|
||||||
|
import { info, warn } from '$pkg/log';
|
||||||
import clamp from 'just-clamp';
|
import clamp from 'just-clamp';
|
||||||
import { derived, writable } from 'svelte/store';
|
import { derived, writable } from 'svelte/store';
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ const config = {
|
|||||||
|
|
||||||
kit: {
|
kit: {
|
||||||
adapter: adapter(),
|
adapter: adapter(),
|
||||||
|
alias: {
|
||||||
|
$lib: 'src/lib',
|
||||||
|
$pkg: 'src/lib/utility/package/',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user