UNPKG

beesbuild

Version:

构建工具链

74 lines (73 loc) 2.93 kB
"use strict"; var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name2 in all) __defProp(target, name2, { get: all[name2], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod)); var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var stdin_exports = {}; __export(stdin_exports, { ALL_RELEASE_TYPES: () => ALL_RELEASE_TYPES, BUILD_CACHE_DIR: () => BUILD_CACHE_DIR, BUILD_TARGET: () => BUILD_TARGET, CONTINUATION_TYPES: () => import_utils2.CONTINUATION_TYPES, DEFAULT_EXTENSIONS: () => DEFAULT_EXTENSIONS, EXCLUDE_FILES: () => EXCLUDE_FILES, PRERELEASE_TYPES: () => import_utils2.PRERELEASE_TYPES, PRE_RELEASE_TYPES: () => import_utils2.PRE_RELEASE_TYPES, RELEASE_TYPES: () => import_utils2.RELEASE_TYPES, VERSION_STEPS: () => VERSION_STEPS, name: () => name }); module.exports = __toCommonJS(stdin_exports); var import_path = __toESM(require("path")); var import_utils = require("@beesbuild/utils"); var import_utils2 = require("@beesbuild/utils"); const ALL_RELEASE_TYPES = [...import_utils.RELEASE_TYPE]; const VERSION_STEPS = [...import_utils.RELEASE_TYPE, "none"]; const BUILD_CACHE_DIR = import_path.default.join("node_modules", ".cache", "dist"); const BUILD_TARGET = "ESNext"; const DEFAULT_EXTENSIONS = [".ts", ".tsx", ".js", ".jsx", ".vue", ".mjs", ".cjs", ".json"]; const EXCLUDE_FILES = ["!**/dist", "!**/es", "!**/lib", "!**/types", "!**/node_modules", "!**/test", "!**/mock", "!build.config.{js,ts}", "!**/*.d.ts"]; const name = "beesbuild"; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { ALL_RELEASE_TYPES, BUILD_CACHE_DIR, BUILD_TARGET, CONTINUATION_TYPES, DEFAULT_EXTENSIONS, EXCLUDE_FILES, PRERELEASE_TYPES, PRE_RELEASE_TYPES, RELEASE_TYPES, VERSION_STEPS, name });