From 0bfe296165ca44fad1582e17a4ca537ee1892f46 Mon Sep 17 00:00:00 2001 From: Jamie Rolfs Date: Fri, 11 Jun 2021 17:28:04 -0700 Subject: [PATCH] build: explicitly transpile to CommonJS --- .babelrc.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.babelrc.json b/.babelrc.json index 41046be8..22e6e87e 100644 --- a/.babelrc.json +++ b/.babelrc.json @@ -3,9 +3,8 @@ [ "@babel/preset-env", { - "targets": { - "node": "12" - } + "targets": {"node": "12"}, + "modules": "commonjs" } ] ]