alpha
Login
or
Join now
danielroe.dev
/
cross-origin-storage
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/danielroe/cross-origin-storage. Load shared dependencies from Cross-Origin Storage (COS).
cross-origin-storage
experimental
nuxt
vite
vite-plugin
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
perf: use hook filter
author
Daniel Roe
date
7 hours ago
(Jun 25, 2026, 2:50 PM +0100)
commit
9d51fd62
9d51fd6211597e16c3a2abafdd948eb692cc5bfe
parent
ae3923c1
ae3923c12d51fcfeff14dc539a5ada4bd3676eab
+1
-4
1 changed file
Expand all
Collapse all
Unified
Split
src
vite.ts
+1
-4
src/vite.ts
Reviewed
···
102
102
},
103
103
resolveId: {
104
104
order: 'pre',
105
105
+
filter: { id: packages },
105
106
async handler(id, importer, resolveOptions) {
106
106
-
if (!packages.some(p => p.test(id))) {
107
107
-
return
108
108
-
}
109
109
-
110
107
const resolved = await this.resolve(id, importer, { ...resolveOptions, skipSelf: true })
111
108
if (!resolved) {
112
109
return