Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rules: [
- ...
- {
- test: /.(jpe?g|png|gif|svg)$/i,
- use: [
- 'file-loader?name=[name].[ext]&publicPath=/&outputPath=images/',
- 'image-webpack-loader'
- ]
- },
- ]
- <img src={ require( './images/shopping-cart.png' ) } alt="shopping cart" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement