4.0.0-beta.9 (2020-09-19)
Full Changelog
New Features
- add aliases to all available commands (#1644)
- generate changelog and copy old CHANGEFILE (#1805)
- allow using cjs as default config (#1775)
- add support for merging multiple configurations (#1768)
- add support to spawn multiple compilers with different configs (#1765)
- add name flag (#1757)
- add --config-name flag (#1753)
- serve integration (#1712)
- add support for .cjs config (#1727)
- support multiple env params (#1715)
- add stats detailed option (#1359)
- add flag to force config (f61e7e0)
- support command aliases with webpack-cli version (#1664)
- add support for none config in dotfolder (#1637)
- validate user input (#1610)
- parse Number flags (#1652)
- allow multiple types for --stats (ca2d593)
- show up cli flag aliases with webpack help <arg> (#1647)
- allow multiple targets (#1799)
- 🎸 add support for env flag (#1598)
- allow only specified negated flags (#1613)
- add init to webpack-cli (#1609)
- webpack-cli: webpack stats (#1299)
- test case for passing in unknown flags (#1214)
- webpack-cli: add mode argument validation (#1290)
- webpack-cli: add --no-stats flag (#1654)
- webpack-cli: --version for external packages (#1421)
- webpack-cli: add alias for version (#1405)
- webpack-cli: import flags from webpack core (#1630)
- webpack-cli: allow multiple entry files (#1619)
- webpack-cli: allow negative property for cli-flags (#1668)
- webpack-cli: add no-mode flag (#1276)
- webpack-cli: create a cli executer (#1255)
- webpack-cli: added mode argument (#1253)
- webpack-cli: add progress bar for progress flag (#1238)
- webpack-cli: add --no-hot flag (#1591)
Fix
- webpack-cli: verbose flag functionality (#1549)
- ci for webpack@beta.30 (#1801)
- use compiler.apply for Progress Plugin (#1772)
- remove yes (279c43f)
- throw err when supplied config is absent (#1760)
- allow unknown files to use default require as fallback (#1747)
- use appropriate exit codes (#1755)
- peer dependencies for
webpack serve
(#1317) - yarn.lock conflicts on setup (#1367)
- conditionally install terser-webpack-plugin for webpack@next (#1732)
- generated loader template (#1720)
- supply argv to config with functions (#1721)
- rename sourcemap flag to devtool (#1723)
- generated plugin template (#1717)
- warn about merge config resolution cases (#1674)
- use fileTypes from interpret (#1690)
- set mode=production by default (#1688)
- promise support in config (#1666)
- show version information for plugin and loader (#1661)
- prevent info from running unnecessarily (#1650)
- json flag, enable tests (#1460)
- consistent webpack plugin name (#1480)
- typo in Compiler.js (#1580)
- 🐛 do not apply own defaults while setting mode (#1565)
- compatibility with webpack@next (#1779)
- throw error for invalid args (#1462)
- regression with migrate command (7ebcbb8)
- generators: fix generators init loader's test regex (#1309)
- release beta (f1f05d8)
- cli: fix file resolution inside group helper (#1221)
- generators: fix and refactor entry util, add tests (#1392)
- generators: fix small issues with generators (#1385)
- info: throw an error if help or version is passed as an arg (#1737)
- init: fix the invalid package name (#1228)
- init: fix webpack config scaffold (#1231)
- packages: make packages have correct main paths to index (#1366)
- serve: merge CLI and devServer options correctly (#1649)
- serve: supplying help or version as an arg should throw error (#1694)
- utils: respect package-lock.json (#1375)
- webpack-cli: to void defaultEntry override the webpack config entry (#1289)
- webpack-cli: add configuration for mode option none (#1303)
- webpack-cli: handle promise rejection with package installation (#1284)
- webpack-cli: correct cli-flags usage (#1441)
- webpack-cli: fixed support for SCSS entry points (#1271)
- webpack-cli: handle promise rejection happening with cli-executor (#1269)
- webpack-cli: prefer import local (#1345)
- webpack-cli: remove invalid stats warning with json flag (#1587)
- webpack-cli: add value none in mode usage (#1411)
- webpack-cli: prefetch flag implementation (#1583)
Perf
- do not spawn new process for running webpack (#1741)
Refactor
- remove --dev and --prod flags and their aliases -d and -p (#1693)
- remove duplicate invocation (#1790)
- cliExecuter consumes runCLI (#1754)
- remove --mode flag validation (#1744)
- use console for logging (#1740)
- use logger (#1748)
- remove stale code (#1670)
- remove plugin flag (#1571)
- 💡 remove defaults flag (#1543)
- refactor info package (#1382)
- webpack-cli: remove --no-mode flag (#1503)
Misc
- feat[utils]: opt to use config schema from core (#1655)
- migrate to commander (#1481)
- Fix loader-generator and plugin-generator tests (#1250)
- Fixing the typos and grammatical errors in Readme files (#1246)
- remove code: remove unused code (#1800)
<a name="3.3.12"></a>