From 578cc8b4b616518eae2e4cd9ccabf1bdb4f29980 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 18 Sep 2021 01:50:20 +0200 Subject: :art: use typescript plugin that converts to relative paths --- api/babel.config.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 api/babel.config.js (limited to 'api/babel.config.js') 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 }] + ] +}; -- cgit 1.5.1