You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Currently, there are different webpack config files for different modes (dev/prod) with the base config file being webpack.common.js. The modes are mentioned in the corresponding config files (development/production). However, the modes are again explicitly passed when running scripts like build:dev,build:prod. I think this is not necessary and adds to redundancy. We can simply remove the --mode argument from build:dev and build:prod command.
Reference: Webpack mode
The text was updated successfully, but these errors were encountered:
Description
Currently, there are different webpack config files for different modes (dev/prod) with the base config file being
webpack.common.js
. The modes are mentioned in the corresponding config files (development
/production
). However, the modes are again explicitly passed when running scripts likebuild:dev
,build:prod
. I think this is not necessary and adds to redundancy. We can simply remove the--mode
argument frombuild:dev
andbuild:prod
command.Reference: Webpack mode
The text was updated successfully, but these errors were encountered: