build(wasm): do not inline wasm blob
oops lol totally missed this
This commit is contained in:
parent
9cd0bc0290
commit
e7d61d08cd
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ export function getWasmUrl(): URL {
|
||||||
// making it not work. probably related to https://github.com/vitejs/vite/issues/8427,
|
// making it not work. probably related to https://github.com/vitejs/vite/issues/8427,
|
||||||
// but asking the user to deoptimize the entire @mtcute/web is definitely not a good idea
|
// but asking the user to deoptimize the entire @mtcute/web is definitely not a good idea
|
||||||
// so we'll just use this hack for now
|
// so we'll just use this hack for now
|
||||||
return new URL('./mtcute.wasm', import.meta.url)
|
return new URL(/* @vite-ignore */ './mtcute.wasm', import.meta.url)
|
||||||
}
|
}
|
||||||
|
|
||||||
let wasm!: MtcuteWasmModule
|
let wasm!: MtcuteWasmModule
|
||||||
|
|
Loading…
Reference in a new issue