Skip to content

Commit c76c884

Browse files
authored
docs: fix pre-bundling link (#1892)
1 parent 159cc79 commit c76c884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { someMethod } from 'my-dep'
1212

1313
The above will throw an error in the browser. Vite will detect such bare module imports in all served source files and perform the following:
1414

15-
1. [Pre-bundle](./dep-rep-bundling) them to improve page loading speed and convert CommonJS / UMD modules to ESM. The pre-bundling step is performed with [esbuild](http://esbuild.github.io/) and makes Vite's cold start time significantly faster than any JavaScript-based bundler.
15+
1. [Pre-bundle](./dep-pre-bundling) them to improve page loading speed and convert CommonJS / UMD modules to ESM. The pre-bundling step is performed with [esbuild](http://esbuild.github.io/) and makes Vite's cold start time significantly faster than any JavaScript-based bundler.
1616

1717
2. Rewrite the imports to valid URLs like `/node_modules/.vite/my-dep.js?v=f3sf2ebd` so that the browser can import them properly.
1818

0 commit comments

Comments
 (0)