mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-27 01:28:56 -06:00
docs: fix typo (#4096) [ci skip]
This commit is contained in:
committed by
Haoqun Jiang
parent
821067f3b0
commit
b092e258bc
@@ -16,7 +16,7 @@ vue-cli-service build --mode development
|
||||
|
||||
When running `vue-cli-service`, environment variables are loaded from all [corresponding files](#environment-variables). If they don't contain a `NODE_ENV` variable, it will be set accordingly. For example, `NODE_ENV` will be set to `"production"` in production mode, `"test"` in test mode, and defaults to `"development"` otherwise.
|
||||
|
||||
Then `NODE_ENV` will determine the primary mode your app is runnning in - development, production or test - and consequently, what kind of webpack config will be created.
|
||||
Then `NODE_ENV` will determine the primary mode your app is running in - development, production or test - and consequently, what kind of webpack config will be created.
|
||||
|
||||
With `NODE_ENV` set to "test" for example, Vue CLI creates a webpack config that is intended to be used and optimized for unit tests. It doesn't process images and other assets that are unnecessary for unit tests.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user