-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
craco.config.js
21 lines (20 loc) · 906 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'),
'@dash-ui': path.resolve(__dirname, './src/components'),
'@provider': path.resolve(__dirname, './src/provider'),
'@localization': path.resolve(__dirname, './src/localization'),
'@router': path.resolve(__dirname, './src/router'),
'@router/*': path.resolve(__dirname, './src/router/*'),
'@screens': path.resolve(__dirname, './src/screens'),
'@screens/*': path.resolve(__dirname, './src/screens/*'),
'@service': path.resolve(__dirname, './src/service'),
'@service/*': path.resolve(__dirname, './src/service/*'),
'@store': path.resolve(__dirname, './src/store'),
'@store/slice': path.resolve(__dirname, './src/store/slice'),
'@selectors': path.resolve(__dirname, './src/store/selectors'),
},
},
};