Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #83 from dertuerke/Optimize-Workbox
Browse files Browse the repository at this point in the history
Extend WorkboxJS for Fonts
  • Loading branch information
LasaleFamine authored Nov 5, 2017
2 parents 2601207 + 674b4c4 commit 81f2586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const plugins = isDev ? [
] : [
new WorkboxPlugin({
globDirectory: outputPath,
globPatterns: ['**/*.{html,js,css, svg, png}'],
globPatterns: ['**/*.{html, js, css, svg, png, woff, woff2, ttf}'],
swDest: join(outputPath, 'sw.js')
}),
new CopyWebpackPlugin(
Expand Down

0 comments on commit 81f2586

Please sign in to comment.