-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.config.js
More file actions
22 lines (21 loc) · 949 Bytes
/
webpack.config.js
File metadata and controls
22 lines (21 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
const path = require('path');
module.exports = {
resolve: {
alias: {
'@root': path.resolve(__dirname, './'),
'@components': path.resolve(__dirname, './src/components'),
'@general': path.resolve(__dirname, './src/components/general'),
'@hocs': path.resolve(__dirname, './src/components/higher-order-components'),
'@svg': path.resolve(__dirname, './src/components/svg'),
'@pages': path.resolve(__dirname, './src/pages'),
'@routes': path.resolve(__dirname, './src/routes'),
'@contexts': path.resolve(__dirname, './src/contexts'),
'@services': path.resolve(__dirname, './src/services'),
'@styles': path.resolve(__dirname, './src/styles'),
'@util': path.resolve(__dirname, './src/util'),
'@hooks': path.resolve(__dirname, './src/hooks'),
'@constants': path.resolve(__dirname, './src/constants'),
'@assets': path.resolve(__dirname, './src/assets'),
},
},
};