Skip to content

Commit

Permalink
Merge pull request #6284 from thornbill/exclude-files
Browse files Browse the repository at this point in the history
Exclude unneeded files from build output
  • Loading branch information
thornbill authored Nov 1, 2024
2 parents 6d37cfc + 1761dd1 commit c5cc093
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ const config = {
new CopyPlugin({
patterns: [
{
from: 'themes/',
to: 'themes/'
from: 'themes/**/*.css'
},
{
from: 'assets/**',
Expand All @@ -87,7 +86,13 @@ const config = {
from: '*.*',
globOptions: {
dot: true,
ignore: ['**.js', '**.html']
ignore: [
'**.js',
'**.jsx',
'**.html',
'**.ts',
'**.tsx'
]
}
}
]
Expand Down

0 comments on commit c5cc093

Please sign in to comment.