npm package diff

Package: @forge/bundler

Versions: 6.1.4-next.0 - 6.1.4-next.1

File: package/out/nativeui.js

Index: package/out/nativeui.js
===================================================================
--- package/out/nativeui.js
+++ package/out/nativeui.js
@@ -9,8 +9,9 @@
         return (0, nativeui_1.getNativeUiBuildConfig)(entryPoints, i18nConfig);
     }
     async bundleResources(resources, i18nConfig) {
         const nativeUiBundlesDetails = [];
+        let combinedMetadata = (0, types_1.emptyMetadata)();
         await Promise.all(resources.map(async (resource) => {
             const entryPoint = {
                 name: resource.key,
                 path: resource.path
@@ -25,17 +26,21 @@
             }
             catch (e) {
                 throw new types_1.BundlerError(e.message);
             }
-            const { outputDir } = bundlerOutput;
+            const { outputDir, metadata } = bundlerOutput;
             this.logger.debug(`NativeUI bundle created: ${outputDir}`);
             nativeUiBundlesDetails.push({
                 ...resource,
                 path: outputDir
             });
+            if (metadata) {
+                combinedMetadata = (0, types_1.mergeMetadata)(combinedMetadata, metadata);
+            }
         }));
         return {
-            nativeUiBundlesDetails
+            nativeUiBundlesDetails,
+            metadata: combinedMetadata
         };
     }
 }
 exports.NativeUIBundler = NativeUIBundler;