import { merge } from 'webpack-merge'; import { addCopyRule, removeCopyRule } from './copyRules'; import { determineProjectFlavor } from './flavor'; import { error, info, warn } from './log'; import { getValue } from './config'; import { getAllDependencies, hasDependency, getDependencyPath, } from './dependencies'; import { getPackageJson, getProjectRootPath } from './project'; import { addPlatform, getAbsoluteDistPath, getDistPath, getEntryDirPath, getEntryPath, getPlatform, getPlatformName, } from './platform'; // intentionally populated manually // as this generates nicer typings // that show all the utils inline // rather than imports to types // todo: maybe use api-extractor instead export default { merge, addCopyRule, removeCopyRule, config: { getValue, }, dependencies: { getAllDependencies, hasDependency, getDependencyPath, }, flavor: { determineProjectFlavor, }, log: { error, info, warn, }, project: { getProjectRootPath, getPackageJson, }, platform: { addPlatform, getAbsoluteDistPath, getDistPath, getEntryDirPath, getEntryPath, getPlatform, getPlatformName, }, };