mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 09:02:11 +03:00
21 lines
453 B
JavaScript
21 lines
453 B
JavaScript
const path = require("path");
|
|
|
|
module.exports = {
|
|
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",
|
|
}
|
|
}
|
|
},
|
|
};
|