/** * 迁移脚本,用于新老工程的配置迁移 */ import { FieOptions } from 'retail-script-utils/lib/intreface'; export default function (fie: any, option: FieOptions): Promise; export declare const migrateFormMod: (cwd: string) => Promise; export declare const migrateRaxSDK: (cwd: string) => Promise; export declare const getComponents: (cwd: string) => any; export declare const generateDocs: (cwd: string, components: any) => Promise; export declare const modifyBuildConfig: (cwd: string) => Promise; export declare const ConfigStr = "module.exports = {\n inlineStyle: false,\n targets: ['web'],\n // \u6253\u5305\u6216\u8C03\u8BD5\u5C0F\u7A0B\u5E8F\uFF0C\u9700\u6CE8\u91CA\u4E00\u4E0B\u4EE3\u7801\u5E76\u589E\u52A0target\uFF0C\u53C2\u8003rax-app\u6587\u6863 https://rax.js.org/docs/guide/miniapp-getting-start#%E6%9C%AC%E5%9C%B0%E5%BC%80%E5%8F%91\n // 'wechat-miniprogram': {\n // buildType: 'runtime',\n // nativeConfig: {\n // appId: '',\n // miniappRoot: 'build/wechat-miniprogram',\n // },\n // },\n plugins: ['cloud-retail-rax-plugin', 'build-plugin-fusion-mobile'],\n babelPlugins: [\n [require.resolve('cloud-retail-rax-plugin/src/plugin/render.js')],\n ],\n}";