summary refs log tree commit diff stats
path: root/javascript/two-fer/babel.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/two-fer/babel.config.js')
-rw-r--r--javascript/two-fer/babel.config.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/javascript/two-fer/babel.config.js b/javascript/two-fer/babel.config.js
new file mode 100644
index 0000000..5cec972
--- /dev/null
+++ b/javascript/two-fer/babel.config.js
@@ -0,0 +1,15 @@
+module.exports = {
+  presets: [
+    [
+      '@babel/preset-env',
+      {
+        targets: {
+          node: 'current',
+        },
+        useBuiltIns: 'entry',
+        corejs: 3,
+      },
+    ],
+  ],
+  plugins: ['@babel/plugin-syntax-bigint'],
+};