@pixi/assets
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -28,2 +28,3 @@ 'use strict'; | ||
var convertToList = require('./utils/convertToList.js'); | ||
var copySearchParams = require('./utils/copySearchParams.js'); | ||
var createStringVariations = require('./utils/createStringVariations.js'); | ||
@@ -54,4 +55,5 @@ var isSingleItem = require('./utils/isSingleItem.js'); | ||
exports.convertToList = convertToList.convertToList; | ||
exports.copySearchParams = copySearchParams.copySearchParams; | ||
exports.createStringVariations = createStringVariations.createStringVariations; | ||
exports.isSingleItem = isSingleItem.isSingleItem; | ||
//# sourceMappingURL=index.js.map |
@@ -85,3 +85,3 @@ 'use strict'; | ||
assetNames.push(bundleAssetId); | ||
this.add([asset.name, bundleAssetId], asset.srcs); | ||
this.add([asset.name, bundleAssetId], asset.srcs, asset.data); | ||
} else { | ||
@@ -88,0 +88,0 @@ const bundleIds = asset.name.map((name) => this._createBundleAssetId(bundleId, name)); |
@@ -19,4 +19,4 @@ import type { ExtensionMetadata } from '@pixi/core'; | ||
export interface ResolveAsset extends Record<string, any> { | ||
src: string; | ||
alias?: string[]; | ||
src: string; | ||
} | ||
@@ -26,2 +26,3 @@ export declare type ResolverAssetsArray = { | ||
srcs: string | ResolveAsset | (string | ResolveAsset)[]; | ||
data?: unknown; | ||
}[]; | ||
@@ -28,0 +29,0 @@ export declare type ResolverAssetsObject = Record<string, (string | ResolveAsset)>; |
export * from './checkDataUrl'; | ||
export * from './checkExtension'; | ||
export * from './convertToList'; | ||
export * from './copySearchParams'; | ||
export * from './createStringVariations'; | ||
export * from './isSingleItem'; |
@@ -8,2 +8,3 @@ 'use strict'; | ||
var convertToList = require('./convertToList.js'); | ||
var copySearchParams = require('./copySearchParams.js'); | ||
var createStringVariations = require('./createStringVariations.js'); | ||
@@ -17,4 +18,5 @@ var isSingleItem = require('./isSingleItem.js'); | ||
exports.convertToList = convertToList.convertToList; | ||
exports.copySearchParams = copySearchParams.copySearchParams; | ||
exports.createStringVariations = createStringVariations.createStringVariations; | ||
exports.isSingleItem = isSingleItem.isSingleItem; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pixi/assets", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "Asset manager for PixiJS, loading resolving and Cacheing", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
], | ||
"gitHead": "4079e92895ecb692afe9f0b15d3e48ee40852ada" | ||
"gitHead": "99b26d1d5a18760019b034c69c5979ca5e6c536b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
430936
203
4002