Skip to content

Commit 04028c3

Browse files
committed
update next config
1 parent fb6e813 commit 04028c3

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/// <reference types="next/navigation-types/compat/navigation" />
44

55
// NOTE: This file should not be edited
6-
// see https://nextjs.org/docs/basic-features/typescript for more information.
6+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

next.config.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,9 @@ const outputFileTracingExcludes = process.env.NEXT_PUBLIC_DEVELOPER_DOCS
2424
/** @type {import('next').NextConfig} */
2525
const nextConfig = {
2626
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
27-
2827
trailingSlash: true,
29-
30-
experimental: {
31-
serverComponentsExternalPackages: ['rehype-preset-minify'],
32-
outputFileTracingExcludes,
33-
},
28+
serverExternalPackages: ['rehype-preset-minify'],
29+
outputFileTracingExcludes,
3430

3531
webpack: (config, options) => {
3632
config.plugins.push(

0 commit comments

Comments
 (0)