From c916122da76ce644048e0942352763eb0e370a4c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 17 May 2020 18:14:52 -0500 Subject: [PATCH] Make commonjs dependencies work https://stackoverflow.com/a/56283408/8811886 --- babel.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index 55efafc40..4f67cc36d 100644 --- a/babel.config.js +++ b/babel.config.js @@ -20,6 +20,7 @@ module.exports = (api) => { ['react-intl', { messagesDir: './build/messages/' }], 'preval', ], + 'sourceType': 'unambiguous', }; switch (env) { @@ -62,4 +63,3 @@ module.exports = (api) => { return config; }; -