diff --git a/src/parser.ts b/src/parser.ts index 535399d..bfae2ff 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -149,7 +149,8 @@ export function getModelBufferContents(model: BundleUnit): PartitionedBundle { const rawBundle = removeHidden(Object.keys(model)).reduce((acc, current) => { // Checking if current file is one of the autogenerated ones or if its // content is not available - if (/(manifest|signature)/.test(current) || !rawBundle[current]) { + + if (/(manifest|signature)/.test(current) || !model[current]) { return acc; }