Skip to content

Commit

Permalink
webpack.common: update copy webpack schema
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m committed May 3, 2021
1 parent 781256c commit 9608703
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,18 +219,15 @@ module.exports = {
new CopyWebpackPlugin({
patterns: [{
from: './euth_wagtail/assets/images/*',
to: 'images/',
flatten: true
to: 'images/[name][ext]'
},
{
from: './euth_wagtail/assets/icons/*',
to: 'icons/',
flatten: true
to: 'icons/[name][ext]'
},
{
from: './euth_wagtail/assets/category_icons/**/*',
to: 'category_icons/icons/',
flatten: true
to: 'category_icons/icons/[name][ext]'
}]
})
]
Expand Down

0 comments on commit 9608703

Please sign in to comment.