Skip to content

Commit

Permalink
Fixed require paths for .png in html
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmoli committed Oct 14, 2015
1 parent 375e0e8 commit 5968e54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
padding: 20px;
margin-bottom: 20px;
height: 58px;
background: #FFB600 url('../img/worklife_logo--small.png') center 20px no-repeat;
background: #FFB600 url('./img/worklife_logo--small.png') center 20px no-repeat;
}
.climb__tile, .climb__tile__content {
background-color: #FFB600;
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {
}, {
test: /\.png$/,
exclude: /node_modules/,
loader: 'file'
loader: 'file?name=img/[name].[ext]'
}, {
test: /\.scss$/,
exclude: /node_modules/,
Expand Down

0 comments on commit 5968e54

Please sign in to comment.