mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 09:58:18 -07:00
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:
parent
8a6491dff5
commit
e4f7529052
@ -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…
Reference in New Issue
Block a user