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