Skip to content

Commit 6db43f9

Browse files
committed
use local workbox to simplify csp
1 parent 83af6b0 commit 6db43f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/webpack.client.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ module.exports = (options = {}) => merge(
6868
})
6969
].concat(prod ? [
7070
new GenerateSW({
71+
importWorkboxFrom: "local",
7172
include: [cachePattern],
7273
runtimeCaching: [{
7374
urlPattern: cachePattern,

0 commit comments

Comments
 (0)