UNPKG

scrabble-solver

Version:

Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.

24 lines (17 loc) 669 B
/// <reference lib="WebWorker" /> import { cleanupOutdatedCaches, precacheAndRoute } from 'workbox-precaching'; import { routeSolveRequests } from './routeSolveRequests'; import { routeVerifyRequests } from './routeVerifyRequests'; declare const self: ServiceWorkerGlobalScope; self.addEventListener('install', () => { // eslint-disable-next-line @typescript-eslint/no-floating-promises self.skipWaiting(); }); self.addEventListener('activate', () => { // eslint-disable-next-line @typescript-eslint/no-floating-promises self.clients.claim(); }); cleanupOutdatedCaches(); precacheAndRoute(self.__WB_MANIFEST); routeSolveRequests(); routeVerifyRequests();