Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6db43f9

Browse files
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‎

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /