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
1 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,7 @@ module.exports = (api) => {
['react-intl', { messagesDir: './build/messages/' }], ['react-intl', { messagesDir: './build/messages/' }],
'preval', 'preval',
], ],
'sourceType': 'unambiguous',
}; };
switch (env) { switch (env) {
@ -62,4 +63,3 @@ module.exports = (api) => {
return config; return config;
}; };