This commit is contained in:
Kainoa Kanter 2023-04-06 17:56:38 -07:00
parent 1d229a4ecf
commit 620bd697b2
2 changed files with 4 additions and 9 deletions

View File

@ -123,15 +123,6 @@ function onTabMousedown(tab: Tab, ev: MouseEvent): void {
} }
} }
function goBack() {
try {
history.back();
}
catch {
window.history.back()
}
}
function onTabClick(tab: Tab, ev: MouseEvent): void { function onTabClick(tab: Tab, ev: MouseEvent): void {
if (tab.onClick) { if (tab.onClick) {
ev.preventDefault(); ev.preventDefault();

View File

@ -27,9 +27,13 @@ export default defineConfig(({ command, mode }) => {
}), }),
pluginJson5(), pluginJson5(),
tsconfigPaths(), tsconfigPaths(),
// #v-ifdef VITE_CAPACITOR
// ...
// #v-else
viteCompression({ viteCompression({
algorithm: 'brotliCompress' algorithm: 'brotliCompress'
}), }),
// #v-endif
], ],
resolve: { resolve: {