mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
Update scripts/refactor-to-dynamic-imports.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -38,7 +38,7 @@ const targetComponents = {
|
||||
atoms: ['Input']
|
||||
}
|
||||
|
||||
async function refactorFile(filePath: string): Promise<boolean> {
|
||||
export async function refactorFile(filePath: string): Promise<boolean> {
|
||||
let content = await fs.readFile(filePath, 'utf-8')
|
||||
let modified = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user