webpack / webpack

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
https://webpack.js.org
MIT License
64.26k stars 8.73k forks source link

In cli, why no option named "--output-file-name" ? #18352

Closed SprayHank closed 3 weeks ago

SprayHank commented 1 month ago

Feature request

add the option named "--output-file-name", and I think the function is very clear from the option name.

What is the expected behavior? Can specify the output file name without a configuration file What is motivation or use case for adding/changing the behavior? Can specify the output file name without a configuration file How should this be implemented in your opinion? I do not read the source code yet, so I do not know now. Are you willing to work on this yourself? yes