-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcraco.config.js
21 lines (20 loc) · 897 Bytes
/
craco.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
const path = require('path');
module.exports = {
webpack: {
alias: {
'@assets': path.resolve(__dirname, './src/assets'),
'@assets/*': path.resolve(__dirname, './src/assets/*'),
'@data': path.resolve(__dirname, './src/data'),
'@hooks': path.resolve(__dirname, './src/hooks'),
'@localization': path.resolve(__dirname, './src/localization'),
'@components': path.resolve(__dirname, './src/components'),
'@providers': path.resolve(__dirname, './src/providers'),
'@router': path.resolve(__dirname, './src/router'),
'@screens': path.resolve(__dirname, './src/screens'),
'@screens/*': path.resolve(__dirname, './src/screens/*'),
'@store': path.resolve(__dirname, './src/store'),
'@store/slice': path.resolve(__dirname, './src/store/slice'),
'@selectors': path.resolve(__dirname, './src/store/selectors'),
},
},
};