diff --git a/webpack.common.js b/webpack.common.js index 16fdab0ae04..058b4f3c1e9 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -73,8 +73,7 @@ const config = { new CopyPlugin({ patterns: [ { - from: 'themes/', - to: 'themes/' + from: 'themes/**/*.css' }, { from: 'assets/**', @@ -87,7 +86,13 @@ const config = { from: '*.*', globOptions: { dot: true, - ignore: ['**.js', '**.html'] + ignore: [ + '**.js', + '**.jsx', + '**.html', + '**.ts', + '**.tsx' + ] } } ]