Update build script for the service worker

This commit is contained in:
Made Baruna 2021-04-04 23:39:19 +08:00
parent 1f7802d0e0
commit 36c4ff6c0e

View file

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"dev": "sapper dev", "dev": "sapper dev",
"build": "sapper build --legacy", "build": "sapper build --legacy",
"export": "sapper export --legacy", "export": "sapper export --legacy && cp __sapper__/build/firebase-messaging-sw.js __sapper__/export",
"start": "node __sapper__/build" "start": "node __sapper__/build"
}, },
"dependencies": { "dependencies": {