File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
Expand file tree Collapse file tree 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) => {
4040 '@babel/core' : require ( '@babel/core/package.json' ) . version ,
4141 '@vue/babel-preset-app' : require ( '@vue/babel-preset-app/package.json' ) . version ,
4242 'babel-loader' : require ( 'babel-loader/package.json' ) . version ,
43- modern : ! ! process . env . VUE_CLI_MODERN_BUILD ,
4443 browserslist : api . service . pkg . browserslist
4544 } , [
4645 'babel.config.js' ,
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ module.exports = (api, options) => {
3030 loader : 'cache-loader' ,
3131 options : api . genCacheConfig ( 'ts-loader' , {
3232 '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
3534 } , 'tsconfig.json' )
3635 } )
3736
Original file line number Diff line number Diff line change @@ -139,8 +139,7 @@ class PluginAPI {
139139 partialIdentifier,
140140 'cli-service' : require ( '../package.json' ) . version ,
141141 '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 ,
144143 config : [
145144 this . service . projectOptions . chainWebpack ,
146145 this . service . projectOptions . configureWebpack
You can’t perform that action at this time.
0 commit comments