Skip to content

Commit

Permalink
Fix webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowc committed Mar 27, 2020
1 parent c7a0f2e commit 100bc61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ Encore

.copyFiles({
from: './assets/images',
to: 'images/[path][name].[hash:8].[ext]',
to: Encore.isProduction()
? 'images/[path][name].[hash:8].[ext]'
: 'images/[path][name].[ext]',
})

// enables Sass/SCSS support
Expand Down

0 comments on commit 100bc61

Please sign in to comment.