1 | const path = require('path')
|
2 | const rootPath = path.resolve(process.cwd())
|
3 | const buildPath = path.join(rootPath, 'build')
|
4 | const publicBuildPath = path.join(buildPath, 'public')
|
5 |
|
6 | module.exports = {
|
7 | rootPath,
|
8 | buildPath,
|
9 | publicBuildPath,
|
10 | publicSrcPath: path.join(rootPath, 'public'),
|
11 | serverSrcPath: path.join(rootPath, 'src'),
|
12 | serverBuildPath: buildPath,
|
13 | userNodeModulesPath: path.join(rootPath, 'node_modules'),
|
14 | publicPath: '/',
|
15 | serverUrl: 'http://localhost:3000'
|
16 | }
|