MCPcopy Create free account
hub / github.com/nuxt/icon / _loadCustomCollection

Method _loadCustomCollection

src/context.ts:141–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 }
140
141 private async _loadCustomCollection(): Promise<IconifyJSON[]> {
142 return Promise.all(
143 (this.options.customCollections || [])
144 .map(collection => loadCustomCollection(collection, this.nuxt.options.rootDir)),
145 )
146 }
147
148 async loadClientBundleCollections(): Promise<ResolvedBundleIcons> {
149 const {

Callers 1

loadCustomCollectionMethod · 0.95

Calls 1

loadCustomCollectionFunction · 0.90

Tested by

no test coverage detected