import { readConfigWebpack } from '@codemods/utils' ; import { defaultConfig } from './defaultMoveConfig' ; import { moveFileToPackage } from './moveFileToPackageCore' ; ( async ( ) => { try { const configWithoutFullpath = readConfigWebpack ( 'move.config.js' , defaultConfig ) ; await moveFileToPackage ( configWithoutFullpath ) ; } catch ( err ) { console . log ( 'error running transforms: ' , err ) ; } } ) ( ) ;