update build-sw.js

This commit is contained in:
Harvey Zack committed 2022-04-29 07:25:16 +08:00
1 parent 5486bc31d6
commit 6799b6b337
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
const { generateSW } = require('workbox-build');
import { generateSW } from 'workbox-build';
generateSW({
globDirectory: 'docs/',