Skip to content

Commit

Permalink
⬆️ deps: upgrade to next 12 (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
gupta-ji6 authored Oct 29, 2021
1 parent 321a082 commit 8d328a4
Show file tree
Hide file tree
Showing 3 changed files with 338 additions and 464 deletions.
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const withPWA = require('next-pwa');
const runtimeCaching = require('next-pwa/cache');

const nextConfig = withPWA({
swcMinify: true,
pwa: {
dest: 'public',
register: true, // let this plugin register service worker for you
Expand Down Expand Up @@ -48,6 +49,7 @@ const nextConfig = withPWA({
},
images: {
domains: ['github.com', 'seeklogo.com', 'media.giphy.com', 'images.scriptified.dev', 'www.placecage.com'],
formats: ['image/avif', 'image/webp'],
},
});

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scriptified",
"version": "2.1.4",
"version": "2.1.5",
"private": true,
"license": "(MIT OR Apache-2.0)",
"scripts": {
Expand All @@ -17,7 +17,7 @@
"axios": "0.21.2",
"glob": "7.1.6",
"lodash": "4.17.21",
"next": "11.1.0",
"next": "12.0.0",
"next-pwa": "3.1.5",
"postcss-import": "12.0.1",
"prism-react-renderer": "1.1.1",
Expand Down
Loading

0 comments on commit 8d328a4

Please sign in to comment.