This repository has been archived by the owner on Sep 11, 2018. It is now read-only.
Documentation for --run-dev and --run-prod is confusing due to inconsistency #18
Closed
1 of 3 tasks
This issue is for a:
Code
CLI Command
webpack.config.js
Expected Behavior
--run-dev
in the documentation includes that it sets--define process.env.NODE_ENV="development"
, to be consistent with the--run-prod
documentation.Or alternatively:
--run-dev
in the documentation includes that it sets themode
to"development"
--run-prod
in the documentation includes that it sets themode
to"production"
--run-prod
in the documentation removes the--define process.env.NODE_ENV=...
notion (as this done by Webpack, not by Webpack Command).--mode
in the documentation includes the--define process.env.NODE_ENV=...
notion or includes a link to https://webpack.js.org/concepts/mode/Actual Behavior
--run-dev
and--run-prod
in the documentation both don't mention Webpack mode--run-dev
doesn't mention--define process.env.NODE_ENV=...
whereas--run-prod
doesThe text was updated successfully, but these errors were encountered: