Open post webpack

[EN] Using Multiple Configurations in webpack: Exporting an Array of Config Objects

webpack supports enabling multi-compiler mode by exporting an array of configuration objects, allowing multiple entries and bundles to be managed within a single process. This approach unifies build and watch workflows, reduces the complexity of multiple config files, and still supports targeted builds via name (config-name), balancing efficiency, maintainability, and flexibility.

Webpack 4.x 入门

概述了 Webpack 的基础使用方法,包括项目初始化、安装、配置及脚本定制。详细讲解了入口 (entry)、输出 (output)、模式 (mode)、载入器 (loader) 和插件 (plugins) 的语法及示例。通过实际操作展示如何快速上手 Webpack,强调了其在模块化开发中的重要性及灵活性。