Overview
The two configuration files are stored in a folder (by default .config)
There are two main configuration files:
- build-time configuration file is used during the webpack build process. This file runs under a
nodejs
environment and you can access libraries suchpath
andfs
. However, you can not access browser-specific features such asdocument
global variables or front-end libraries. - run-time configuration file is used to configure the generated site. This file runs under the
browser
environment and can you can access any browser-specific libraries and global variables. However, from this file, you can not accessnodejs
-specific libraries.