Internal webpack configuration wrapper used by Ant Financial and UmiJS. Version 1.14.9 is the latest stable release, but active development has moved to the Utoopack bundler within UmiJS v4+. Originally designed to abstract webpack complexities, it is now effectively superseded by utoopack. Key differentiator: provides a unique, opinionated webpack interface tailored for Ant Financial's ecosystem.
npm install af-webpackVerified import paths — ran on the pinned version, not inferred.
Demonstrates generating a webpack configuration object using af-webpack's getConfig function.
Migrate to UmiJS v4+ and use utoopack or directly use webpack 5.
Use webpack 4 or manually adapt configurations for webpack 5 compatibility.
Refer to af-webpack documentation for its unique configuration schema.
npm install af-webpack@1.14.9 --save-dev
Use import { getConfig } from 'af-webpack' instead of import getConfig from 'af-webpack'.No dependency data recorded yet.