Skip to content

Commit

Permalink
Merge pull request #863 from OneCommunityGlobal/diego_babel_build_update
Browse files Browse the repository at this point in the history
build: updated .babelrc to exclude test files at build time
  • Loading branch information
one-community authored Apr 6, 2024
2 parents 9d70b82 + c61a1b2 commit daf55fe
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"presets" : ["@babel/preset-env"],
"plugins":
["@babel/plugin-transform-async-to-generator",
["@babel/plugin-transform-runtime",
{
"corejs": false,
"helpers": true,
"regenerator": true,
"useESModules": false
}
],
["module-resolver", {
"presets": ["@babel/preset-env"],
"plugins": [
"@babel/plugin-transform-async-to-generator",
[
"@babel/plugin-transform-runtime",
{
"corejs": false,
"helpers": true,
"regenerator": true,
"useESModules": false
}
],
[
"module-resolver",
{
"root": "./src"
}]
}
]
}
],
"ignore": ["**/*.test.js", "**/*.spec.js"]
}

0 comments on commit daf55fe

Please sign in to comment.