mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-11 11:32:27 +03:00
3b9ceade76
* Fix token not being refreshed * Fix token not being refreshed * v2 * Fix
36 lines
780 B
JavaScript
36 lines
780 B
JavaScript
const path = require("path");
|
|
|
|
module.exports = {
|
|
devServer: {
|
|
client: {
|
|
overlay: {
|
|
runtimeErrors: (error) => {
|
|
switch (error.message) {
|
|
case "ResizeObserver loop limit exceeded":
|
|
case "Unauthenticated":
|
|
return false;
|
|
default:
|
|
return true;
|
|
}
|
|
},
|
|
},
|
|
}
|
|
},
|
|
webpack: {
|
|
alias: {
|
|
'~': path.resolve(__dirname, 'src'),
|
|
'@': path.resolve(__dirname, 'src/modules'),
|
|
'@testing': path.resolve(__dirname, 'src/testing'),
|
|
},
|
|
},
|
|
jest: {
|
|
configure: {
|
|
moduleNameMapper: {
|
|
'~/(.+)': "<rootDir>/src/$1",
|
|
'@/(.+)': "<rootDir>/src/modules/$1",
|
|
'@testing/(.+)': "<rootDir>/src/testing/$1",
|
|
}
|
|
},
|
|
},
|
|
};
|