Skip to content

Commit

Permalink
Change build directory and have NETLIFY_NEXT_PLUGIN_SKIP="true" for SSG
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnetangsu committed Aug 30, 2023
1 parent c5aaf7a commit 44cd07b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

# PLUGINS
# ##############################################################################
Expand Down

0 comments on commit 44cd07b

Please sign in to comment.