Skip to content

Commit 51406f0

Browse files
committed
created shortcuts for imports
1 parent 41b421c commit 51406f0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/webpack.config.common.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
const path = require('path');
22

33
module.exports = {
4+
resolve: {
5+
alias: {
6+
Components: path.join(__dirname, '/../src/components'),
7+
Containers: path.join(__dirname, '/../src/containers'),
8+
Images: path.join(__dirname, '/../src/assets/images'),
9+
Constants: path.join(__dirname, '/../src/constants'),
10+
Lib: path.join(__dirname, '/../src/lib'),
11+
},
12+
},
413
module: {
514
rules: [
615
{

0 commit comments

Comments
 (0)