diff --git a/docs/config/index.md b/docs/config/index.md index 0ffd9f05967fbd..48254361328e1e 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -15,7 +15,7 @@ export default { } ``` -Note Vite supports using ES modules syntax in the config file even if the project is not using native Node ESM via `type: "module"`. In this case, the config file is auto pre-processed before load. +Note Vite supports using ES modules syntax in the config file even if the project is not using native Node ESM, e.g. `type: "module"` in `package.json`. In this case, the config file is auto pre-processed before load. You can also explicitly specify a config file to use with the `--config` CLI option (resolved relative to `cwd`):