Backport pull request #6284 from jellyfin-web/release-10.10.z

Exclude unneeded files from build output

Original-merge: c5cc093fba

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
thornbill 2024-11-03 10:54:37 -05:00 committed by Joshua M. Boniface
parent 8a6491dff5
commit e4f7529052

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