npm package diff

Package: @forge/cli

Versions: 10.12.1-next.2 - 10.13.0-next.18

File: package/out/deploy/packager/nativeui-bundler.js

Index: package/out/deploy/packager/nativeui-bundler.js
===================================================================
--- package/out/deploy/packager/nativeui-bundler.js
+++ package/out/deploy/packager/nativeui-bundler.js
@@ -1,39 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.NativeUIBundler = void 0;
-const packager_1 = require("./packager");
-class NativeUIBundler {
-    logger;
-    bundler;
-    constructor(logger, bundler) {
-        this.logger = logger;
-        this.bundler = bundler;
-    }
-    async bundle(resources, i18nConfig) {
-        const entryPoints = resources.map(({ key, path }) => ({
-            name: key,
-            path
-        }));
-        const nativeUiBundlesDetails = [];
-        if (entryPoints.length > 0) {
-            let bundlerOutputs;
-            try {
-                bundlerOutputs = await Promise.all(entryPoints.map((entrypoint) => this.bundler(this.logger, '', [entrypoint], i18nConfig)));
-            }
-            catch (e) {
-                throw new packager_1.BundlerError(e.message);
-            }
-            bundlerOutputs.forEach(({ outputDir }, index) => {
-                this.logger.debug(`NativeUI bundle created: ${outputDir}`);
-                nativeUiBundlesDetails.push({
-                    ...resources[index],
-                    path: outputDir
-                });
-            });
-        }
-        return {
-            nativeUiBundlesDetails
-        };
-    }
-}
-exports.NativeUIBundler = NativeUIBundler;