1 | # This is an example environment configuration file. You can create your own
|
2 | # .env implementation or even just set these values directly on the environment
|
3 | # via your CI server for example.
|
4 |
|
5 | # NOTE!
|
6 | # These keys will be used by the webpack configFactory. Specifically webpack
|
7 | # parses the code and will replace any "process.env.{VAR_NAME}" instances with
|
8 | # the matching value from your vars below.
|
9 | # If you pass any additional environment variables via the command line then you
|
10 | # need to ensure that the respective variable is added to the DefinePlugin
|
11 | # section of the webpack configFactory.
|
12 |
|
13 | # The port on which to run our server.
|
14 | SERVER_PORT=1337
|
15 |
|
16 | # The port on which to run our client bundle dev server.
|
17 | CLIENT_DEVSERVER_PORT=7331
|
18 |
|
19 | # Disable SSR?
|
20 | DISABLE_SSR=false
|
21 |
|
22 | # Where should we output our server bundle? (relative to project root)
|
23 | SERVER_BUNDLE_OUTPUT_PATH=./build/server
|
24 |
|
25 | # Where should we output our client bundle? (relative to project root)
|
26 | CLIENT_BUNDLE_OUTPUT_PATH=./build/client
|
27 |
|
28 | # What should we name the file that contains details of all the files contained
|
29 | # within our client bundle?
|
30 | CLIENT_BUNDLE_ASSETS_FILENAME=assets.json
|
31 |
|
32 | # What is the public http path at which we will serve our client bundle from?
|
33 | CLIENT_BUNDLE_HTTP_PATH=/client-assets/
|
34 |
|
35 | # How long should we set the browser cache for the client bundle assets? Don't
|
36 | # worry, we add hashes to the files, so if they change the new files will be
|
37 | # served to browsers.
|
38 | # We are using the "ms" format to set the length.
|
39 | # @see https://www.npmjs.com/package/ms
|
40 | CLIENT_BUNDLE_CACHE_MAXAGE=365d
|