@lark-project/cli
Version:
飞书项目插件开发工具
14 lines (13 loc) • 673 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConfigSource = void 0;
const local_plugin_config_1 = require("../local-plugin-config");
const logger_1 = require("./logger");
const getConfigSource = async (sourceType) => {
const configSource = sourceType === 'local' ? 'local' : 'remote';
if (configSource === 'local') {
logger_1.logger.info('Note: If you modify the local config file (point.config.local.json), you need to restart the dev server for the changes to take effect.');
}
(0, local_plugin_config_1.setLocalPluginConfig)({ source_type: configSource });
};
exports.getConfigSource = getConfigSource;