From d7b267a2d571cc2e7d841e1f610120f80c4b2c30 Mon Sep 17 00:00:00 2001 From: Matteo Manzinello Date: Thu, 4 Jul 2019 10:45:28 +0200 Subject: [PATCH] added preset-flow --- babel.config.js | 2 +- src/mailgo.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index 51e5e99..6f292a1 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,3 @@ -const presets = [["@babel/env", {}]]; +const presets = [["@babel/env", {}], ["@babel/preset-flow", {}]]; module.exports = { presets }; diff --git a/src/mailgo.js b/src/mailgo.js index d391b0a..e835256 100644 --- a/src/mailgo.js +++ b/src/mailgo.js @@ -1,3 +1,4 @@ +// @flow const V = "MAILGO_VERSION"; const MAILTO = "mailto:";