From ac9583e99b073cb7b56cf18a781387a41bb017de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Wed, 30 Oct 2024 04:26:47 +0900 Subject: [PATCH] docs(typo): fix typos in `webpack.mdx` (#71510) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 📚 Improving Documentation Hello, I've fixed typos in `webpack.mdx`. I added missing punctuations and wrapped some code related keywords in inline code blocks. Co-authored-by: JJ Kasper --- .../02-api-reference/05-next-config-js/webpack.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/02-app/02-api-reference/05-next-config-js/webpack.mdx b/docs/02-app/02-api-reference/05-next-config-js/webpack.mdx index 4c80c7801de5d..c3a1e58fc4dd2 100644 --- a/docs/02-app/02-api-reference/05-next-config-js/webpack.mdx +++ b/docs/02-app/02-api-reference/05-next-config-js/webpack.mdx @@ -52,12 +52,12 @@ module.exports = { The second argument to the `webpack` function is an object with the following properties: -- `buildId`: `String` - The build id, used as a unique identifier between builds -- `dev`: `Boolean` - Indicates if the compilation will be done in development -- `isServer`: `Boolean` - It's `true` for server-side compilation, and `false` for client-side compilation +- `buildId`: `String` - The build id, used as a unique identifier between builds. +- `dev`: `Boolean` - Indicates if the compilation will be done in development. +- `isServer`: `Boolean` - It's `true` for server-side compilation, and `false` for client-side compilation. - `nextRuntime`: `String | undefined` - The target runtime for server-side compilation; either `"edge"` or `"nodejs"`, it's `undefined` for client-side compilation. - `defaultLoaders`: `Object` - Default loaders used internally by Next.js: - - `babel`: `Object` - Default `babel-loader` configuration + - `babel`: `Object` - Default `babel-loader` configuration. Example usage of `defaultLoaders.babel`: @@ -85,4 +85,4 @@ module.exports = { #### `nextRuntime` -Notice that `isServer` is `true` when `nextRuntime` is `"edge"` or `"nodejs"`, nextRuntime "`edge`" is currently for middleware and Server Components in edge runtime only. +Notice that `isServer` is `true` when `nextRuntime` is `"edge"` or `"nodejs"`, `nextRuntime` `"edge"` is currently for middleware and Server Components in edge runtime only.