Skip to content

Commit 6319827

Browse files
feat(optimizer): support aube lockfile (#22813)
1 parent 302c755 commit 6319827

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

docs/guide/dep-pre-bundling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ You can further customize Rolldown too with the [`optimizeDeps.rolldownOptions`
6565

6666
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:
6767

68-
- Package manager lockfile content, e.g. `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml` or `bun.lock`.
68+
- Package manager lockfile content, e.g. `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, `bun.lock` or `aube-lock.yaml`.
6969
- Patches folder modification time.
7070
- Relevant fields in your `vite.config.js`, if present.
7171
- `NODE_ENV` value.

packages/vite/src/node/optimizer/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,11 @@ const lockfileFormats = [
12531253
checkPatchesDir: false,
12541254
manager: 'pnpm',
12551255
},
1256+
{
1257+
path: 'aube-lock.yaml',
1258+
checkPatchesDir: false,
1259+
manager: 'aube',
1260+
},
12561261

12571262
// discouraged package manager lockfiles
12581263
// or deprecated lockfiles

0 commit comments

Comments
 (0)