Closed
Description
This isn't mentioned in the migration guide but it would be useful to know that when migrating from v4 to v5 you need to change the format of the environment variables passed to your config from the following:
webpack --env.FOO foo --env.BAR --env.BAZ baz
To this format:
webpack --env FOO=foo BAR BAZ=baz
Otherwise you get the following error:
Error: Unknown option '--env.foo'
Metadata
Metadata
Assignees
Labels
No labels