diff --git a/webpack.common.js b/webpack.common.js index 4a401501e0..5fef0bd527 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -15,13 +15,21 @@ module.exports = { new CleanWebpackPlugin(), new CopyPlugin({ patterns: [ - { - from: 'config*.json', - to: '' - }, { from: 'themes/', to: 'themes/' + }, + { + from: 'assets/**', + globOptions: { + ignore: ['**/css/*'] + } + }, + { + from: '*.*', + globOptions: { + ignore: ['**.js', '**.html'] + } } ] })