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({
|
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'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue