Skip to content

Commit

Permalink
Wallaby compilers ⚡️
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed Oct 2, 2018
1 parent ad48684 commit 3ccc0e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wallaby.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = function (wallaby) {
return {
files: [
'src/**/*.js',
'src/**/*.ts',
'dist/**/*.js'
],
tests: [
Expand All @@ -12,11 +12,12 @@ module.exports = function (wallaby) {
runner: 'node'
},
compilers: {
'+(src|test)/**/*.js': wallaby.compilers.babel(
'+(src|test)/**/*.js': wallaby.compilers.typeScript()
// '+(src|test)/**/*.js': wallaby.compilers.babel(
// {
// presets: ['@babel/preset-env', '@ava/babel-preset-stage-4']
// }
)
// )
},
testFramework: 'jest',
debug: true
Expand Down

0 comments on commit 3ccc0e5

Please sign in to comment.