const path = require("path"); module.exports = { devServer: { client: { overlay: { runtimeErrors: (error) => { if (error.message === "ResizeObserver loop limit exceeded") { return false; } if (error.message === "Unauthorized") { return false; } return true; }, }, } }, webpack: { alias: { '~': path.resolve(__dirname, 'src'), '@': path.resolve(__dirname, 'src/modules'), '@testing': path.resolve(__dirname, 'src/testing'), }, }, jest: { configure: { moduleNameMapper: { '~/(.+)': "/src/$1", '@/(.+)': "/src/modules/$1", '@testing/(.+)': "/src/testing/$1", } }, }, };