-
Notifications
You must be signed in to change notification settings - Fork 0
/
craco.config.js
24 lines (21 loc) · 1.02 KB
/
craco.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const path = require('path')
module.exports = {
webpack: {
alias: {
'@store' : path.resolve(__dirname, 'src/lib/store'),
'@pages' : path.resolve(__dirname, 'src/pages'),
'@api' : path.resolve(__dirname, 'src/api'),
'@socialApi' : path.resolve(__dirname, 'src/api/socialApi'),
'@newsApi' : path.resolve(__dirname, 'src/api/newsApi'),
'@musicApi' : path.resolve(__dirname, 'src/api/musicApi'),
'@utils' : path.resolve(__dirname, 'src/utils'),
'@profile' : path.resolve(__dirname, 'src/features/profile'),
'@users' : path.resolve(__dirname, 'src/features/users'),
'@chat' : path.resolve(__dirname, 'src/features/chat'),
'@news' : path.resolve(__dirname, 'src/features/news'),
'@music' : path.resolve(__dirname, 'src/features/music'),
'@auth' : path.resolve(__dirname, 'src/features/authentication'),
'@ui' : path.resolve(__dirname, 'src/ui'),
}
}
}