Merge pull request #6284 from thornbill/exclude-files

Exclude unneeded files from build output
This commit is contained in:
Bill Thornton
2024-11-01 14:20:12 -04:00
committed by GitHub

View File

@@ -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'
]
}
}
]