Skip to content

Fix usage of "url" and "server" CLI arguments

Compare
Choose a tag to compare
@scriptex scriptex released this 01 Dec 13:08
· 773 commits to master since this release
a5a6929

Migrating to Webpack 5 seemed to break usage of custom arguments such as --url or --server.
Webpack 5 supports the --env flag which allows passing of custom arguments.
This release takes care of this bug and makes it possible to pass those arguments like this:

yarn start --env server

yarn start --env url=http://your-proxy.local