File tree 3 files changed +2
-5
lines changed
3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ module.exports = (api, options) => {
40
40
'@babel/core' : require ( '@babel/core/package.json' ) . version ,
41
41
'@vue/babel-preset-app' : require ( '@vue/babel-preset-app/package.json' ) . version ,
42
42
'babel-loader' : require ( 'babel-loader/package.json' ) . version ,
43
- modern : ! ! process . env . VUE_CLI_MODERN_BUILD ,
44
43
browserslist : api . service . pkg . browserslist
45
44
} , [
46
45
'babel.config.js' ,
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ module.exports = (api, options) => {
30
30
loader : 'cache-loader' ,
31
31
options : api . genCacheConfig ( 'ts-loader' , {
32
32
'ts-loader' : require ( 'ts-loader/package.json' ) . version ,
33
- 'typescript' : require ( 'typescript/package.json' ) . version ,
34
- modern : ! ! process . env . VUE_CLI_MODERN_BUILD
33
+ 'typescript' : require ( 'typescript/package.json' ) . version
35
34
} , 'tsconfig.json' )
36
35
} )
37
36
Original file line number Diff line number Diff line change @@ -139,8 +139,7 @@ class PluginAPI {
139
139
partialIdentifier,
140
140
'cli-service' : require ( '../package.json' ) . version ,
141
141
'cache-loader' : require ( 'cache-loader/package.json' ) . version ,
142
- env : process . env . NODE_ENV ,
143
- test : ! ! process . env . VUE_CLI_TEST ,
142
+ env : process . env ,
144
143
config : [
145
144
this . service . projectOptions . chainWebpack ,
146
145
this . service . projectOptions . configureWebpack
You can’t perform that action at this time.
0 commit comments