@@ -2,50 +2,14 @@ var path = require('path')
2
2
3
3
module . exports = {
4
4
build : {
5
- // Where the index.html will be generated. Must be an absolute path.
6
- // The generated file will have correct asset URLs auto-injected.
7
- // If you are using this template with a backend-framework, you can set this
8
- // to the backend view file (.php, .erb etc.) rendered for your app.
9
5
index : path . resolve ( __dirname , 'dist/index.html' ) ,
10
-
11
- // The root directory for your app's static assets. Must be an absolute path.
12
- // If you are using this template with a backend-framework, set this to
13
- // the framework's static assets directory, e.g. /path/to/project/public.
14
6
assetsRoot : path . resolve ( __dirname , 'dist' ) ,
15
-
16
- // Nest webpack-generated assets under this directory in `assetsRoot`, so
17
- // that they are not mixed with other files you may have in `assetsRoot`.
18
- //
19
- // Files inside /static will be copied into this directory as-is. This means
20
- // if you change this prefix, all your absolute URLs referencing files in
21
- // /static will also need to be changed.
22
- //
23
- // This directory will be cleaned before each build.
24
- assetsPrefix : 'static' ,
25
-
26
- // This is where your `assetsRoot` will be served from over HTTP.
27
- // Only change this if your backend framework serves static assets with
28
- // a path prefix.
7
+ assetsSubDirectory : 'static' ,
29
8
assetsPublicPath : '/' ,
30
-
31
- // Whether to generate source map for production builds
32
9
productionSourceMap : true
33
10
} ,
34
-
35
11
dev : {
36
- // Dev server port
37
12
port : 8080 ,
38
-
39
- // Proxy requests to different backend during development.
40
- // https://github.com/chimurai/http-proxy-middleware
41
- proxyTable : {
42
- // '/api': {
43
- // target: 'http://jsonplaceholder.typicode.com',
44
- // changeOrigin: true,
45
- // pathRewrite: {
46
- // '^/api': ''
47
- // }
48
- // }
49
- }
13
+ proxyTable : { }
50
14
}
51
15
}
0 commit comments