summary refs log tree commit diff stats
path: root/javascript/luhn/babel.config.js
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-09-05 22:23:27 +0530
committerAndinus <andinus@nand.sh>2021-09-05 22:23:27 +0530
commit670546b8a284bee51f63f00dabcf89b9ea463e68 (patch)
tree3d50372887f2931eb714405a12aeafad28049aa1 /javascript/luhn/babel.config.js
parent27d42698a76605b0653474e8d0d0976b74cd2b88 (diff)
downloadexercism-670546b8a284bee51f63f00dabcf89b9ea463e68.tar.gz
JS: Luhn: Add solution
Diffstat (limited to 'javascript/luhn/babel.config.js')
-rw-r--r--javascript/luhn/babel.config.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/javascript/luhn/babel.config.js b/javascript/luhn/babel.config.js
new file mode 100644
index 0000000..5f1ec60
--- /dev/null
+++ b/javascript/luhn/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'],
+};