Skip to content

Commit

Permalink
fix: update babel config
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Murray <hellomikemurray@gmail.com>
  • Loading branch information
mikemurray committed Aug 22, 2019
1 parent b530fa4 commit 5d71869
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ module.exports = function (api) {
[
"@babel/env",
{
corejs: 3,
useBuiltIns: "entry",
// https://babeljs.io/docs/en/babel-preset-env#targets
targets: {
node: "current",
Expand Down Expand Up @@ -37,6 +39,7 @@ module.exports = function (api) {
[
"@babel/env",
{
corejs: 3,
modules: esmodules ? false : "auto",
// https://babeljs.io/docs/en/babel-preset-env#targets
targets: {
Expand Down

0 comments on commit 5d71869

Please sign in to comment.