You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/guide/dep-pre-bundling.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -77,9 +77,10 @@ Both `include` and `exclude` can be used to deal with this. If the dependency is
77
77
78
78
Vite caches the pre-bundled dependencies in `node_modules/.vite`. It determines whether it needs to re-run the pre-bundling step based on a few sources:
79
79
80
-
-The `dependencies` list in your`package.json`.
81
-
-Package manager lockfiles, e.g. `package-lock.json`, `yarn.lock`, or `pnpm-lock.yaml`.
80
+
-Package manager lockfile content, e.g.`package-lock.json`, `yarn.lock`, `pnpm-lock.yaml` or `bun.lockb`.
81
+
-Patches folder modification time.
82
82
- Relevant fields in your `vite.config.js`, if present.
83
+
-`NODE_ENV` value.
83
84
84
85
The pre-bundling step will only need to be re-run when one of the above has changed.
0 commit comments