summary refs log tree commit diff
path: root/api/babel.config.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-18 01:50:20 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-18 01:50:20 +0200
commit578cc8b4b616518eae2e4cd9ccabf1bdb4f29980 (patch)
tree34a8e61bdaaa1dbf4add51c4fc5869a60b11596a /api/babel.config.js
parent:sparkles: generate test responses (diff)
downloadserver-578cc8b4b616518eae2e4cd9ccabf1bdb4f29980.tar.xz
:art: use typescript plugin that converts to relative paths
Diffstat (limited to 'api/babel.config.js')
-rw-r--r--api/babel.config.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/api/babel.config.js b/api/babel.config.js
new file mode 100644
index 00000000..45ab8ad8
--- /dev/null
+++ b/api/babel.config.js
@@ -0,0 +1,6 @@
+module.exports = {
+	presets: [
+		["@babel/preset-env", { targets: { node: "current" } }],
+		["@babel/preset-typescript", { allowDeclareFields: true }]
+	]
+};