UNPKG

1.22 kBPlain TextView Raw
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
10# The port on which to run our server.
11SERVER_PORT=1337
12
13# The port on which to run our client bundle dev server.
14CLIENT_DEVSERVER_PORT=7331
15
16# Disable SSR?
17DISABLE_SSR=false
18
19# Where should we output our bundles? (relative to project root)
20BUNDLE_OUTPUT_PATH=./build
21
22# What should we name the file that contains details of all the files contained
23# within our bundles?
24BUNDLE_ASSETS_FILENAME=assets.json
25
26# What is the public http path at which we will serve our client bundle from?
27CLIENT_BUNDLE_HTTP_PATH=/client/
28
29# How long should we set the browser cache for the client bundle assets? Don't
30# worry, we add hashes to the files, so if they change the new files will be
31# served to browsers.
32# We are using the "ms" format to set the length.
33# @see https://www.npmjs.com/package/ms
34CLIENT_BUNDLE_CACHE_MAXAGE=365d