Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Commit 24b3a27

Browse files
committed
add image loader in webpack production config
1 parent 6f274a9 commit 24b3a27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

webpack.production.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ var config = {
6565
]
6666
})
6767
},
68+
{
69+
test: /\.(png|jpg)$/,
70+
loader: 'url?limit=15000'
71+
},
6872
]
6973
},
7074
};

0 commit comments

Comments
 (0)