refactor: Replace Webpack with Vite (#53)

This commit is contained in:
Razboy20
2024-01-24 19:40:30 -06:00
committed by GitHub
parent 1629c85818
commit 0560a01a55
112 changed files with 7322 additions and 32180 deletions

View File

@@ -0,0 +1,11 @@
import { ExtensionStore } from '@shared/storage/ExtensionStore';
/**
* Called when the extension is updated (or when the extension is reloaded in development mode)
*/
export default async function onUpdate() {
await ExtensionStore.set({
version: chrome.runtime.getManifest().version,
lastUpdate: Date.now(),
});
}