import { Stats } from 'webpack' ; import { BuildInspectSettings } from '@reskript/settings' ; import { run , InspectOptions } from './utils' ; import initialResources from './initialResources' ; import duplicatePackages from './duplicatePackages' ; import htmlImportable from './htmlImportable' ; export default async ( stats , settings , options ) => { const { children = [ ] } = stats . toJson ( 'normal' ) ; const processors = [ ... initialResources ( children , settings . initialResources ) , duplicatePackages ( children , settings . duplicatePackages ) , htmlImportable ( children , settings . htmlImportable ) , ] ; await run ( processors , options ) ; } ;