Basic configs for build-scripts and its plugins. Current stable version 3.6.2. Part of Alibaba's ice framework ecosystem. Provides shared configuration presets for build-scripts, including webpack and rspack support. Differentiates by offering AST-based export analysis and support for multiple bundlers.
npm install build-scripts-configVerified import paths — ran on the pinned version, not inferred.
Shows using build-scripts-config to configure webpack in an ice app.
Install webpack@4.41.1 or compatible version: npm install webpack@4.41.1
Use ES module imports (import syntax) and ensure package.json has type:module or use .mjs extension.
Use defineConfig from @ice/app instead of createConfig from build-scripts-config.
npm install build-scripts-config
npm install webpack@4.41.1
Add type:module to package.json or rename file to .mjs