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-23 17:03:36 +0200
committerGitHub <noreply@github.com>2021-09-23 17:03:36 +0200
commit265dd70ce9964821c8d179e9636af39ac83881b0 (patch)
tree94eddae38c87522d56a5a08e4172aed4971c2320 /api/babel.config.js
parentMerge pull request #394 from ChrisChrome/erlpack-fix (diff)
parent:bug: prepare/postinstall only works for packages not local npm install (diff)
downloadserver-265dd70ce9964821c8d179e9636af39ac83881b0.tar.xz
Merge pull request #372 from fosscord/unittests
Automatic Unittests + documentation
Diffstat (limited to '')
-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 }] + ] +};