- Extract 4756 source files from cli.js.map (57MB) - Set up Bun build system with bun:bundle feature flag shim - Configure 90+ compile-time feature flags matching production defaults - Inject MACRO constants (VERSION, BUILD_TIME, etc.) - Create stubs for private packages (color-diff-napi, modifiers-napi, etc.) - Install all public dependencies via pnpm - Patch commander v14 to allow multi-char short flags (-d2e) - Build output: dist/cli.js (22MB), verified working
13 lines
430 B
JavaScript
13 lines
430 B
JavaScript
"use strict";
|
|
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.isEmptyData = void 0;
|
|
function isEmptyData(data) {
|
|
if (typeof data === "string") {
|
|
return data.length === 0;
|
|
}
|
|
return data.byteLength === 0;
|
|
}
|
|
exports.isEmptyData = isEmptyData;
|
|
//# sourceMappingURL=isEmptyData.js.map
|