mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6284 from thornbill/exclude-files
Exclude unneeded files from build output
This commit is contained in:
commit
c5cc093fba
1 changed files with 8 additions and 3 deletions
|
@ -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'
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue