forked from miao-moe/QZMusic_PC
fork(fix): Clone AMLL 并修复 BUG
- 将AMLL Clone到本以地进行修复和优化(emm虽然这很不优雅但是暂时无时间做子模块和Fork) - 修复在当前播放歌词行不可见的视口Seek会出现滚动偏移的问题
This commit is contained in:
29
amll-local/packages/playground/react-full/vite.config.ts
Normal file
29
amll-local/packages/playground/react-full/vite.config.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import path from "node:path";
|
||||
import { defineConfig } from "vite";
|
||||
import svgr from "vite-plugin-svgr";
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"@applemusic-like-lyrics/core/style.css": path.resolve(
|
||||
__dirname,
|
||||
"../../core/src/styles/index.css",
|
||||
),
|
||||
"@applemusic-like-lyrics/react": path.resolve(
|
||||
__dirname,
|
||||
"../../react/src",
|
||||
),
|
||||
"@applemusic-like-lyrics/core": path.resolve(__dirname, "../../core/src"),
|
||||
"@applemusic-like-lyrics/lyric": path.resolve(
|
||||
__dirname,
|
||||
"../../lyric/src",
|
||||
),
|
||||
"@react-full": path.resolve(__dirname, "../../react-full/src"),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
svgr({
|
||||
svgrOptions: { ref: true },
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user