Skip to content

Commit 8d328a4

Browse files
authored
⬆️ deps: upgrade to next 12 (#80)
1 parent 321a082 commit 8d328a4

File tree

3 files changed

+338
-464
lines changed

3 files changed

+338
-464
lines changed

next.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const withPWA = require('next-pwa');
1010
const runtimeCaching = require('next-pwa/cache');
1111

1212
const nextConfig = withPWA({
13+
swcMinify: true,
1314
pwa: {
1415
dest: 'public',
1516
register: true, // let this plugin register service worker for you
@@ -48,6 +49,7 @@ const nextConfig = withPWA({
4849
},
4950
images: {
5051
domains: ['github.com', 'seeklogo.com', 'media.giphy.com', 'images.scriptified.dev', 'www.placecage.com'],
52+
formats: ['image/avif', 'image/webp'],
5153
},
5254
});
5355

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scriptified",
3-
"version": "2.1.4",
3+
"version": "2.1.5",
44
"private": true,
55
"license": "(MIT OR Apache-2.0)",
66
"scripts": {
@@ -17,7 +17,7 @@
1717
"axios": "0.21.2",
1818
"glob": "7.1.6",
1919
"lodash": "4.17.21",
20-
"next": "11.1.0",
20+
"next": "12.0.0",
2121
"next-pwa": "3.1.5",
2222
"postcss-import": "12.0.1",
2323
"prism-react-renderer": "1.1.1",

0 commit comments

Comments
 (0)