UNPKG

beesbuild

Version:

构建工具链

39 lines (38 loc) 885 B
import path from "path"; import { RELEASE_TYPE } from "@beesbuild/utils"; import { RELEASE_TYPES, PRERELEASE_TYPES, CONTINUATION_TYPES, PRE_RELEASE_TYPES } from "@beesbuild/utils"; const ALL_RELEASE_TYPES = [...RELEASE_TYPE]; const VERSION_STEPS = [...RELEASE_TYPE, "none"]; const BUILD_CACHE_DIR = path.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"; export { ALL_RELEASE_TYPES, BUILD_CACHE_DIR, BUILD_TARGET, CONTINUATION_TYPES, DEFAULT_EXTENSIONS, EXCLUDE_FILES, PRERELEASE_TYPES, PRE_RELEASE_TYPES, RELEASE_TYPES, VERSION_STEPS, name };