-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.config.js
More file actions
24 lines (23 loc) · 887 Bytes
/
project.config.js
File metadata and controls
24 lines (23 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const NODE_ENV = process.env.NODE_ENV || 'development';
module.exports = {
/** The environment to use when building the project */
env: NODE_ENV,
/** The full path to the project's root directory */
basePath: __dirname,
/** The name of the directory containing the application source code */
srcDir: 'src',
/** The file name of the application's entry point */
main: 'main',
/** The name of the directory in which to emit compiled assets */
outDir: 'build',
/** The base path for all projects assets (relative to the website root) */
publicPath: '/',
/** Whether to generate sourcemaps */
sourcemaps: true,
/** A hash map of keys that the compiler should treat as external to the project */
externals: {},
/** A hash map of variables and their values to expose globally */
globals: {},
/** Whether to enable verbose logging */
verbose: false,
};