Skip to content

Commit

Permalink
NextJS 11 (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest authored Jun 15, 2021
1 parent d0e7493 commit d26026e
Show file tree
Hide file tree
Showing 4 changed files with 407 additions and 82 deletions.
8 changes: 3 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,9 @@ module.exports = withNextPluginPreval(withBundleAnalyzer(withSourceMaps({
return redirects;
},

future: {
// See https://nextjs.org/docs/messages/webpack5
// Necessary to manually specify to use webpack 5, because we use a custom "webpack" config (see below)
webpack5: true,
},
// See https://nextjs.org/docs/messages/webpack5
// Necessary to manually specify to use webpack 5, because we use a custom "webpack" config (see below)
webpack5: true,

resolve: {
fallback: {
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"lodash.uniq": "4.5.0",
"lodash.xorby": "4.7.0",
"markdown-to-jsx": "7.1.2",
"next": "10.2.0",
"next": "11.0.0",
"next-cookies": "2.0.3",
"next-plugin-preval": "1.2.0",
"prop-types": "15.7.2",
Expand Down Expand Up @@ -216,8 +216,8 @@
"@types/lodash.uniq": "4.5.6",
"@types/lodash.xorby": "4.7.6",
"@types/popper.js": "1.11.0",
"@types/react": "17.0.5",
"@types/react-dom": "17.0.4",
"@types/react": "17.0.11",
"@types/react-dom": "17.0.7",
"@types/react-test-renderer": "17.0.1",
"@types/reactstrap": "8.7.2",
"@types/uuid": "8.3.0",
Expand All @@ -232,6 +232,7 @@
"del-cli": "3.0.1",
"dotenv": "9.0.2",
"eslint": "7.26.0",
"eslint-config-next": "11.0.0",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.23.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import useI18n, { I18n } from '@/modules/core/i18n/hooks/useI18n';
import { createLogger } from '@/modules/core/logging/logger';
import deserializeSafe from '@/modules/core/serializeSafe/deserializeSafe';
import deepmerge from 'deepmerge';
import find from 'lodash.find';
import size from 'lodash.size';
import {
GetStaticPaths,
Expand Down
Loading

0 comments on commit d26026e

Please sign in to comment.