fix: 🐛 解决打包错误

This commit is contained in:
log1997
2026-01-19 14:19:39 +08:00
parent 41700b26fa
commit a8f09befb3
3 changed files with 2 additions and 5 deletions

View File

@@ -32,9 +32,6 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install
- name: Install dependency fast-glob
run: pnpm add fast-glob -D
- name: Build for production - name: Build for production
run: pnpm build run: pnpm build

View File

@@ -1,5 +1,5 @@
import { onUnmounted } from 'vue' import { onUnmounted } from 'vue'
import TimerWorker from './timerWorker.ts?worker' import TimerWorker from './timerWorker.worker?worker'
export function useTimerWorker(interval: number) { export function useTimerWorker(interval: number) {
let timerWorker: Worker | null = null let timerWorker: Worker | null = null