@@ -5,14 +5,6 @@ const { VueLoaderPlugin } = require('vue-loader')
5
5
const path = require ( 'path' )
6
6
7
7
exports . createConfig = ( config , target = { chrome : 52 , firefox : 48 } ) => {
8
- const bubleOptions = {
9
- target,
10
- objectAssign : 'Object.assign' ,
11
- transforms : {
12
- modules : false
13
- }
14
- }
15
-
16
8
const mode = process . env . NODE_ENV === 'production' ? 'production' : 'development'
17
9
const workspace = path . basename ( process . cwd ( ) )
18
10
@@ -25,7 +17,7 @@ exports.createConfig = (config, target = { chrome: 52, firefox: 48 }) => {
25
17
'@back' : '@vue-devtools/app-backend-core/lib' ,
26
18
'@utils' : '@vue-devtools/shared-utils/lib'
27
19
} ,
28
- symlinks : false ,
20
+ // symlinks: false,
29
21
fallback : {
30
22
path : require . resolve ( 'path-browserify' )
31
23
}
@@ -36,7 +28,14 @@ exports.createConfig = (config, target = { chrome: 52, firefox: 48 }) => {
36
28
test : / \. j s $ / ,
37
29
loader : 'buble-loader' ,
38
30
exclude : / n o d e _ m o d u l e s | v u e \/ d i s t | v u e x \/ d i s t / ,
39
- options : bubleOptions
31
+ options : {
32
+ target,
33
+ objectAssign : 'Object.assign' ,
34
+ transforms : {
35
+ modules : false ,
36
+ asyncAwait : false
37
+ }
38
+ }
40
39
} ,
41
40
{
42
41
test : / \. v u e $ / ,
@@ -45,7 +44,13 @@ exports.createConfig = (config, target = { chrome: 52, firefox: 48 }) => {
45
44
compilerOptions : {
46
45
preserveWhitespace : false
47
46
} ,
48
- transpileOptions : bubleOptions
47
+ transpileOptions : {
48
+ target,
49
+ objectAssign : 'Object.assign' ,
50
+ transforms : {
51
+ modules : false
52
+ }
53
+ }
49
54
}
50
55
} ,
51
56
{
0 commit comments