Loading...
Loading...
Check Module Federation local development performance configuration: detect whether recommended performance optimization options are enabled to alleviate slow HMR and slow build speed.
npx skill4agent add module-federation/core mf-perfmf-context$ARGUMENTS--contextnode scripts/performance-check.js --context '<MFContext-JSON>'resultscontext.bundler.namedev.disableAssetsAnalyzedev: { disableAssetsAnalyze: true }splitChunksbundler.namerspackrsbuildsplitChunks.chunks"async"output: { splitChunks: { chunks: 'async' } }typescriptdts: false@module-federation/enhancedts-go"Would you like me to automatically try switching toand verify compatibility?"ts-go
@mf-types/@mf-types.bak.<timestamp>/dts.generateTypes.compilerInstance = "tsgo"npm install @typescript/native-preview --save-devnpx mf dtsts-go