npm package diff
Package: @forge/cli
Versions: 10.12.1-next.2 - 10.13.0-next.18
File: package/out/deploy/packager/packager.js
Index: package/out/deploy/packager/packager.js
===================================================================
--- package/out/deploy/packager/packager.js
+++ package/out/deploy/packager/packager.js
@@ -1,11 +1,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.AppPackager = exports.BundlerError = void 0;
+exports.AppPackager = void 0;
const cli_shared_1 = require("@forge/cli-shared");
-class BundlerError extends cli_shared_1.UserError {
-}
-exports.BundlerError = BundlerError;
class AppPackager {
runtimeBundler;
nativeUiBundler;
logger;
@@ -16,9 +13,9 @@
}
async package(handlers, resources, packageConfig, i18nResourceBundle, i18nConfig) {
this.logger.info(cli_shared_1.Text.deploy.taskPackage.title);
const runtimeBundle = await this.runtimeBundler.bundle(handlers, i18nResourceBundle, packageConfig);
- const nativeUiBundle = await this.nativeUiBundler.bundle(resources, i18nConfig);
+ const nativeUiBundle = await this.nativeUiBundler.bundleResources(resources, i18nConfig);
return {
...runtimeBundle,
...nativeUiBundle
};