Skip to content

Commit

Permalink
Update next.config.mjs with output and distDir changes
Browse files Browse the repository at this point in the history
  • Loading branch information
giovamuge committed Feb 15, 2024
1 parent 61ecb56 commit 3fd778a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
output: "export",

// Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html`
// trailingSlash: true,

// Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href`
// skipTrailingSlashRedirect: true,

// Optional: Change the output directory `out` -> `dist`
distDir: 'dist',
distDir: "dist",

experimental: {
appDir: true,
},
}

export default nextConfig

0 comments on commit 3fd778a

Please sign in to comment.