Skip to content

Commit

Permalink
chore: Update transpiler configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobspinto committed Dec 7, 2023
1 parent 3f9a756 commit 848608f
Show file tree
Hide file tree
Showing 4 changed files with 799 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"esmodules": true
}
}
]
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"@babel/preset-env": "7.13.8"
},
"dependencies": {
"@babel/preset-env": "^7.23.5",
"@projectstorm/react-canvas-core": "^6.7.4",
"@projectstorm/react-diagrams": "^6.7.4",
"assets": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"forceConsistentCasingInFileNames": true,
// `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
"noEmit": true,
"target": "es6",
"target": "ES2021",
}
}
Loading

0 comments on commit 848608f

Please sign in to comment.