# taro3-config-helper **Repository Path**: janpoem/taro3-config-helper ## Basic Information - **Project Name**: taro3-config-helper - **Description**: taro3 项目配置助手 - **Primary Language**: NodeJS - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-09 - **Last Updated**: 2022-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # taro3-config-helper Taro3 项目配置助手。该项目的目的是为了解决集中式仓库中管理多个 Taro3 项目实例配置生成入口的问题。 ## Installation ```shell yarn add taro3-config-helper or npm install taro3-config-helper ``` ## Examples ```javascript // taro_project/config/index.js const path = require('path'); const yourConfig = { // ... }; module.exports = function (merge) { return taroConfig('myapp', path.resolve('./packages/myapp'), { makeOutputDir: ({projectName, mode, modeShortName, taroEnv, customEnv, outputDir}) => { return outputDir; }, makeOutputPath: ({projectName, mode, modeShortName, taroEnv, customEnv, outputDir, outputPath}) => { return outputPath; } }, yourConfig); }; ```