UNPKG

481 BJavaScriptView Raw
1const path = require('path')
2const rootPath = path.resolve(process.cwd())
3const buildPath = path.join(rootPath, 'build')
4const publicBuildPath = path.join(buildPath, 'public')
5
6module.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}