Make commonjs dependencies work
https://stackoverflow.com/a/56283408/8811886
This commit is contained in:
parent
ed61603b10
commit
c916122da7
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue