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
commit1e331b7c9d74cc4a0c532ebe8562986547d388ca (patch)
tree640fb5851f68f4338abc7366858e53ccf9d5222e /api/babel.config.js
parent:sparkles: generate test responses (diff)
downloadserver-1e331b7c9d74cc4a0c532ebe8562986547d388ca.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 }] + ] +};