-
Notifications
You must be signed in to change notification settings - Fork 4
/
voltran-app.config.js
42 lines (41 loc) · 1.1 KB
/
voltran-app.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
const path = require('path');
module.exports = {
appConfigFile: {
entry: path.resolve(__dirname, './src/conf/'),
output: {
path: path.resolve(__dirname, './src'),
name: 'appConfig',
}
},
configFile: path.resolve(__dirname, './voltran-app.config.js'),
dev: false,
distFolder: path.resolve(__dirname, './build'),
publicDistFolder: path.resolve(__dirname, './build/public'),
inputFolder: path.resolve(__dirname, './src/partials'),
prefix: 'sf',
ssr: true,
styles: [],
output: {
client: {
path: path.resolve(__dirname, './build/public/project/assets'),
publicPath: path.resolve(__dirname, './src/assets'),
filename: '[name]-[hash].js',
chunkFilename: '[name]-[chunkhash].js'
},
server: {
path: path.resolve(__dirname, './build/server'),
filename: '[name].js'
},
},
routing: {
components: path.resolve(__dirname, './src/appRoute/components.js'),
dictionary: path.resolve(__dirname, './src/appRoute/dictionary.js'),
},
staticProps: [],
svgFolder: path.resolve(__dirname, './src/assets/images'),
webpackConfiguration: {
client: '',
common: '',
server: '',
},
};