feat: add new website design and tech stack

This commit is contained in:
Stefan Imhoff
2022-02-08 19:46:50 +01:00
parent f76fd39fee
commit 165152beba
495 changed files with 16157 additions and 361 deletions

22
workbox.config.js Normal file
View File

@@ -0,0 +1,22 @@
module.exports = {
globDirectory: 'dist/',
globPatterns: ['**/*.woff2'],
swDest: 'dist/sw.js',
sourcemap: false,
cleanupOutdatedCaches: true,
clientsClaim: true,
skipWaiting: true,
runtimeCaching: [
{
urlPattern: /\.(?:jpg|png|svg|gif|webp|avif)$/,
handler: 'CacheFirst',
options: {
cacheName: 'images',
expiration: {
maxEntries: 50,
maxAgeSeconds: 60 * 60 * 24 * 365,
},
},
},
],
};