You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
397 B

const { routeMappingPlugin } = require('../plugins/route-mapping-plugin.js')
// 独立运行路由映射生成
console.log('🔧 独立生成路由映射文件...')
try {
const plugin = routeMappingPlugin()
plugin.collectDirectMappings()
console.log('✅ 路由映射文件生成完成')
} catch (error) {
console.error('❌ 路由映射文件生成失败:', error)
process.exit(1)
}