1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Exclude unneeded files from build output

This commit is contained in:
Bill Thornton 2024-11-01 10:33:09 -04:00
parent d365dd1b98
commit 1761dd1cfc

View file

@ -73,8 +73,7 @@ const config = {
new CopyPlugin({ new CopyPlugin({
patterns: [ patterns: [
{ {
from: 'themes/', from: 'themes/**/*.css'
to: 'themes/'
}, },
{ {
from: 'assets/**', from: 'assets/**',
@ -87,7 +86,13 @@ const config = {
from: '*.*', from: '*.*',
globOptions: { globOptions: {
dot: true, dot: true,
ignore: ['**.js', '**.html'] ignore: [
'**.js',
'**.jsx',
'**.html',
'**.ts',
'**.tsx'
]
} }
} }
] ]