Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
mohsen1 and styfle committed Feb 5, 2022
1 parent 95ca863 commit c55407b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/next/server/config-shared.ts
Expand Up @@ -57,6 +57,7 @@ export interface WebpackConfigContext {
isServer: boolean
/** The build id, used as a unique identifier between builds */
buildId: string
/** The next.config.js merged with default values */
config: NextConfigComplete
/** Default loaders used internally by Next.js */
defaultLoaders: {
Expand Down Expand Up @@ -201,6 +202,7 @@ export interface NextConfig extends Record<string, any> {
/**
* By default Next.js will redirect urls with trailing slashes to their counterpart without a trailing slash.
*
* @default false
* @see [Trailing Slash Configuration](https://nextjs.org/docs/api-reference/next.config.js/trailing-slash)
*/
trailingSlash?: boolean
Expand Down Expand Up @@ -231,7 +233,9 @@ export interface NextConfig extends Record<string, any> {

/**
* By default, `Next` will serve each file in the `pages` folder under a pathname matching the filename.
* To disable this behavior and prevent routing based set this to `true`.
*
* @default true
* @see [Disabling file-system routing](https://nextjs.org/docs/advanced-features/custom-server#disabling-file-system-routing)
*/
useFileSystemPublicRoutes?: boolean
Expand Down Expand Up @@ -305,6 +309,7 @@ export interface NextConfig extends Record<string, any> {
/**
* By default, Next.js will automatically inline font CSS at build time
*
* @default true
* @since version 10.2
* @see [Font Optimization](https://nextjs.org/docs/basic-features/font-optimization)
*/
Expand Down

0 comments on commit c55407b

Please sign in to comment.