-
Notifications
You must be signed in to change notification settings - Fork 1
[243] Upgrade next.js #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
||
// getDataFromTree does not call componentWillUnmount | ||
// head side effect therefore need to be cleared manually | ||
Head.rewind(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was added automatically
config.node = { | ||
fs: 'empty', | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are using something like node.fs: 'empty' replace it with resolve.fallback.fs: false.
@@ -2,21 +2,15 @@ | |||
/* eslint-disable no-param-reassign */ | |||
|
|||
const dotenv = require('dotenv'); | |||
const withPlugins = require('next-compose-plugins'); | |||
const nextImages = require('next-images'); | |||
const nextFonts = require('next-fonts'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was needed when Nextjs had no support for importing fonts without using plugins.
Summary
A brief description of the pull request.
Resolves: #243
Screenshots in case of UI changes
Test plan
List of steps to manually test introduced functionality:
What do need to pay more attention to, some implicit changes that influence the app:
Review notes
While reviewing pull-request (especially when it's your pull-request), please make sure that:
.env.example
and added to Heroku