From 828a50e0655989f48e65352bb8964c1905da971d Mon Sep 17 00:00:00 2001 From: Victor Porof Date: Tue, 2 Oct 2018 09:23:32 +0200 Subject: [PATCH] Don't just transpile, also polyfill new APIs for older node versions --- .babelrc | 4 +--- .browserslistrc | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .browserslistrc diff --git a/.babelrc b/.babelrc index 3db09cac..42e6e01e 100644 --- a/.babelrc +++ b/.babelrc @@ -3,9 +3,7 @@ [ "@babel/env", { - "targets": { - "node": "0.1" - } + "useBuiltIns": "usage" } ] ], diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 00000000..737d9924 --- /dev/null +++ b/.browserslistrc @@ -0,0 +1 @@ +node 0 \ No newline at end of file