Run npm run build to reproduce the error.
npm run build
service-worker.ts imports code from lib/utils, using the $utils alias defined in svelte.config.js.
service-worker.ts
lib/utils
$utils
svelte.config.js