Skip to content

Commit d73fbda

Browse files
tricknotesgauravtiwari
authored andcommitted
Fix README to allow test as NODE_ENV (#1722)
`NODE_ENV=test` is allowed by #1563.
1 parent 26e5a5f commit d73fbda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ staging:
230230
public_output_path: packs-staging
231231
```
232232

233-
or, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production` or `development`.
233+
or, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.
234234
This means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.
235235

236236
For example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:

0 commit comments

Comments
 (0)