-
Notifications
You must be signed in to change notification settings - Fork 0
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
Nojira | Update nextjs to v13.4.20-canary.12; enable static export; remove use of next image #112
Changes from 11 commits
5e7d8c6
5242c88
a0cdb09
f87724a
12483f7
5c0bd6e
463b494
a2b23ae
c5aaf7a
44cd07b
2f50c09
15c35aa
e8413a8
42d3b51
389404e
be0f92e
e795c9f
7ab1cde
9218696
72ce669
79ab80f
9a5eefe
f09565d
6fc8d67
289dbfa
380e048
30bb0a5
a5a7fcf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,12 @@ | |
# ############################################################################## | ||
[build] | ||
command = "npm run build" | ||
publish = ".next" | ||
publish = "out" | ||
|
||
[build.environment] | ||
# For apps that use next export to generate static HTML | ||
# set the NETLIFY_NEXT_PLUGIN_SKIP to true. | ||
NETLIFY_NEXT_PLUGIN_SKIP="true" | ||
Comment on lines
+5
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These need to be set to use static export There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What? Really? Link to Doxn? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here you go @sherakama It would also show me an error on the Netlify build page to do these two things There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TBH I'm not 100% sure I want to go with this - but at least I finally get it to work once 😂 All the combination of things that blocked this from working before..... |
||
|
||
# PLUGINS | ||
# ############################################################################## | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
trailingSlash: true, | ||
output: 'export', | ||
Comment on lines
2
to
+4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To enable static export |
||
images: { | ||
remotePatterns: [ | ||
{ | ||
|
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.
To use static export, I need to add
export
back here. Previously it generates a type error, but it seems ok now.