summary refs log tree commit diff stats
path: root/javascript/triangle/babel.config.js
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-09-06 22:19:21 +0530
committerAndinus <andinus@nand.sh>2021-09-06 22:19:21 +0530
commit5622b92d80a80faabc1bcf35c94a35a28ff63e05 (patch)
tree40f501577ae8929508bf05c33069e651a746afb8 /javascript/triangle/babel.config.js
parent2c3463a677d01dfc027bc518de91eeeaebc14a5b (diff)
downloadexercism-5622b92d80a80faabc1bcf35c94a35a28ff63e05.tar.gz
JS: Triangle: Add solution
Diffstat (limited to 'javascript/triangle/babel.config.js')
-rw-r--r--javascript/triangle/babel.config.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/javascript/triangle/babel.config.js b/javascript/triangle/babel.config.js
new file mode 100644
index 0000000..5f1ec60
--- /dev/null
+++ b/javascript/triangle/babel.config.js
@@ -0,0 +1,15 @@
+module.exports = {
+  presets: [
+    [
+      '@babel/preset-env',
+      {
+        targets: {
+          node: 'current',
+        },
+        useBuiltIns: 'entry',
+        corejs: '3.17',
+      },
+    ],
+  ],
+  plugins: ['@babel/plugin-syntax-bigint'],
+};