From 75dc1b1b5570bef5fd513e29645d316dfe233fd5 Mon Sep 17 00:00:00 2001 From: Matteo Manzinello Date: Thu, 16 May 2019 12:10:25 +0200 Subject: [PATCH] added browserslist in README --- README.md | 4 +++- babel.config.js | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f4c979..a144ec5 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,9 @@ This is a more simple example (also with spam-less #1 usage): ## browsers support -// WIP +`"browserslist": "> 0.25%, not dead"` + +see the compatibility of mailgo on browserl.ist --- diff --git a/babel.config.js b/babel.config.js index 7eb0f3c..731b2b1 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,10 @@ -const presets = [["@babel/env"]]; +const presets = [ + [ + "@babel/env", + { + useBuiltIns: "entry" + } + ] +]; module.exports = { presets };