refactor(webpack-config): Disable some options based on bundler version (#75888)
Extracted from the try-ci-test work: #75443
Includes some minor cleanup, deduping some use of the environment variable.
<!--
Co-authored-by:
JJ Kasper <jj@jjsweb.site>
Showing
Please
register
or
sign in
to comment