refactor: 添加路径别名

This commit is contained in:
AncTe committed 2023-10-22 12:05:06 +08:00
1 parent f79cd57f75
commit 57498ea72e
13 files changed
+67 -55

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { has } from '../../plugin/utils';
import { has } from '@/plugin/utils';
import { ResourceController } from '../loader/controller';
export class BgmController extends ResourceController<HTMLAudioElement> {
+2 -2
View File
@@ -1,6 +1,6 @@
import { has } from '../../plugin/utils';
import { has } from '@/plugin/utils';
import { AudioParamOf, AudioPlayer } from './audio';
import resource from '../../data/resource.json';
import resource from '@/data/resource.json';
import { ResourceController } from '../loader/controller';
type Panner = AudioParamOf<PannerNode>;