Use vite as bundler

This commit is contained in:
N-Pex 2025-03-31 16:33:54 +02:00
parent 16dc5df9e5
commit b6f7f75fdd
44 changed files with 4308 additions and 15961 deletions

View file

@ -167,10 +167,11 @@ const State = {
};
import util from "../plugins/utils";
import VoiceRecorderLock from "./VoiceRecorderLock";
require("md-gum-polyfill");
import "md-gum-polyfill";
import MicRecorder from "mic-recorder-to-mp3";
import ysFixWebmDuration from "fix-webm-duration";
//import { duration } from "dayjs";
import recordStop from "@/assets/sounds/record_stop.mp3";
export default {
name: "VoiceRecorder",
@ -400,7 +401,7 @@ export default {
}
},
playRecordedSound() {
const audio = new Audio(require("@/assets/sounds/record_stop.mp3"));
const audio = new Audio(recordStop);
audio.play();
},
aquireWakeLock() {