Sets node target to version 9
This commit is contained in:
parent
616676d451
commit
2db5754c6f
@ -4,7 +4,7 @@ module.exports = {
|
||||
presets: [
|
||||
[ '@babel/preset-env', {
|
||||
targets: {
|
||||
node: 'current'
|
||||
node: '9'
|
||||
}
|
||||
} ]
|
||||
]
|
||||
|
@ -11,7 +11,7 @@ module.exports = {
|
||||
'^@/(.*)$': '<rootDir>/src/$1'
|
||||
},
|
||||
transform: {
|
||||
// '.*\\.js$': '<rootDir>/node_modules/babel-jest',
|
||||
'.*\\.js$': '<rootDir>/node_modules/babel-jest',
|
||||
'.*\\.(vue)$': '<rootDir>/node_modules/jest-vue-preprocessor'
|
||||
},
|
||||
collectCoverageFrom: [
|
||||
|
Loading…
Reference in New Issue
Block a user