Skip to content

Commit

Permalink
Merge pull request #52 from contentstack/fix/dependencies-update
Browse files Browse the repository at this point in the history
Fix/dependencies update
  • Loading branch information
Amitkanswal authored Sep 21, 2022
2 parents 76ecbe4 + 88dcc0f commit ca52d4b
Show file tree
Hide file tree
Showing 5 changed files with 8,250 additions and 662 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"extends: next/core-web-vitals"
"next/core-web-vitals"
],
"parserOptions": {
"ecmaFeatures": {
Expand Down
12 changes: 4 additions & 8 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const withPWA = require('next-pwa');
const withPWA = require('next-pwa')({
dest: 'public'
});

const config = {
publicRuntimeConfig: {
Expand All @@ -17,12 +19,6 @@ const config = {
CONTENTSTACK_LIVE_EDIT_TAGS:
process.env.CONTENTSTACK_LIVE_EDIT_TAGS || 'false',
},
devIndicators: {
autoPrerender: false,
},
pwa: {
dest: 'public',
},
};
module.exports =
process.env.NODE_ENV === 'development' ? config : withPWA(config);
process.env.NODE_ENV === 'development' ? config : withPWA(config);
Loading

0 comments on commit ca52d4b

Please sign in to comment.