Skip to content

Commit

Permalink
Merge pull request #2 from rnatulsa/upgrade-nextjs-10-1
Browse files Browse the repository at this point in the history
Upgrade Next.js to v10.1
  • Loading branch information
travismiller authored Mar 31, 2021
2 parents e402fc2 + bfbe74d commit 06dc009
Show file tree
Hide file tree
Showing 3 changed files with 354 additions and 371 deletions.
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ const withYaml = require('next-plugin-yaml')
const withImages = require('next-images')

let nextConfig = {
future: {
// https://nextjs.org/docs/messages/webpack5
webpack5: true,
},

// https://nextjs.org/docs/api-reference/next.config.js/basepath
basePath: process.env.BASE_PATH || '',

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"googleapis": "^68.0.0",
"gray-matter": "^4.0.2",
"luxon": "^1.26.0",
"next": "10.0.6",
"next": "^10.1.2",
"next-compose-plugins": "^2.2.1",
"next-images": "^1.7.0",
"next-plugin-yaml": "^1.0.1",
Expand Down
Loading

0 comments on commit 06dc009

Please sign in to comment.