Skip to content

Commit 9222413

Browse files
authored
docs(lazy-loading): Change the vite document path (#2493)
1 parent 1dfb38f commit 9222413

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/docs/guide/advanced/lazy-loading.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ webpack will group any async module with the same chunk name into the same async
6363

6464
### With Vite
6565

66-
In Vite you can define the chunks under the [`rollupOptions`](https://vitejs.dev/config/#build-rollupoptions):
66+
In Vite you can define the chunks under the [`rollupOptions`](https://vite.dev/config/build-options.html#build-rollupoptions):
6767

6868
```js
6969
// vite.config.js

packages/docs/zh/guide/advanced/lazy-loading.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ webpack 会将任何一个异步模块与相同的块名称组合到相同的异
6363

6464
### 使用 Vite
6565

66-
在Vite中,你可以在[`rollupOptions`](https://vitejs.dev/config/#build-rollupoptions)下定义分块:
66+
在Vite中,你可以在[`rollupOptions`](https://cn.vite.dev/config/build-options.html#build-rollupoptions)下定义分块:
6767

6868
```js
6969
// vite.config.js

packages/playground/vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { fileURLToPath, URL } from 'node:url'
22
import { defineConfig } from 'vite'
33
import Vue from '@vitejs/plugin-vue'
44

5-
// https://vitejs.dev/config/
5+
// https://vite.dev/config/
66
export default defineConfig({
77
plugins: [Vue()],
88
resolve: {

packages/router/e2e/vite.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fs.readdirSync(__dirname).forEach(dir => {
2020
}
2121
})
2222

23-
// https://vitejs.dev/config/
23+
// https://vite.dev/config/
2424
/**
2525
*
2626
* @param {Record<string, string>} env

0 commit comments

Comments
 (0)