Skip to content

Commit 91b5669

Browse files
committed
fix:updated dependencies and eslint config
1 parent 76ecbe4 commit 91b5669

File tree

5 files changed

+8250
-662
lines changed

5 files changed

+8250
-662
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"extends": [
77
"eslint:recommended",
88
"plugin:react/recommended",
9-
"extends: next/core-web-vitals"
9+
"next/core-web-vitals"
1010
],
1111
"parserOptions": {
1212
"ecmaFeatures": {

next.config.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
const withPWA = require('next-pwa');
1+
const withPWA = require('next-pwa')({
2+
dest: 'public'
3+
});
24

35
const config = {
46
publicRuntimeConfig: {
@@ -17,12 +19,6 @@ const config = {
1719
CONTENTSTACK_LIVE_EDIT_TAGS:
1820
process.env.CONTENTSTACK_LIVE_EDIT_TAGS || 'false',
1921
},
20-
devIndicators: {
21-
autoPrerender: false,
22-
},
23-
pwa: {
24-
dest: 'public',
25-
},
2622
};
2723
module.exports =
28-
process.env.NODE_ENV === 'development' ? config : withPWA(config);
24+
process.env.NODE_ENV === 'development' ? config : withPWA(config);

0 commit comments

Comments
 (0)