Make commonjs dependencies work

https://stackoverflow.com/a/56283408/8811886
This commit is contained in:
Alex Gleason 2020-05-17 18:14:52 -05:00
parent ed61603b10
commit c916122da7
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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;
};