File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,6 @@ module.exports = {
12
12
publicPath : 'http://localhost:8080/assets/' ,
13
13
filename : '[name].js'
14
14
} ,
15
- devServer : {
16
- historyApiFallback : true ,
17
- noInfo : true ,
18
- proxy : {
19
- "**" : "{{ local-server }}"
20
- }
21
- } ,
22
15
module : {
23
16
rules : [
24
17
{
@@ -57,7 +50,14 @@ module.exports = {
57
50
} ,
58
51
resolve : {
59
52
alias : {
60
- 'vue$' : 'vue/dist/vue.common.js'
53
+ 'vue$' : 'vue/dist/vue.esm.js'
54
+ }
55
+ } ,
56
+ devServer : {
57
+ historyApiFallback : true ,
58
+ noInfo : true ,
59
+ proxy : {
60
+ "**" : "{{ local-server }}"
61
61
}
62
62
} ,
63
63
performance : {
@@ -68,8 +68,7 @@ module.exports = {
68
68
69
69
if ( isProduction ) {
70
70
71
- module . exports . devtool = '#source-map'
72
-
71
+ module . exports . devtool = '#source-map' ;
73
72
74
73
module . exports . output . publicPath = './wp-content/themes/{{ name }}/assets/' ;
75
74
You can’t perform that action at this time.
0 commit comments