import { ConeComponentScaffoldProps } from '../type' export function processJs({ filepath, str, props, }: { filepath: string str: string props: ConeComponentScaffoldProps }): string { const { mobile } = props if (mobile) { str = str.replace(/cn-next/gm, 'cn-meet-react') str = str.replace( "import { ConfigProvider } from 'cn-meet-react';", "import { ConfigProvider } from 'cn-next';", ) } return str }