diff --git a/src/index.html b/src/index.html index 7a9f152..41d3e47 100644 --- a/src/index.html +++ b/src/index.html @@ -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; diff --git a/webpack.config.js b/webpack.config.js index 971715b..52ec5ca 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -40,7 +40,7 @@ module.exports = { }, { test: /\.png$/, exclude: /node_modules/, - loader: 'file' + loader: 'file?name=img/[name].[ext]' }, { test: /\.scss$/, exclude: /node_modules/,