From e4f7529052c25c99206dfc1a69c751593015af66 Mon Sep 17 00:00:00 2001 From: thornbill Date: Sun, 3 Nov 2024 10:54:37 -0500 Subject: [PATCH] Backport pull request #6284 from jellyfin-web/release-10.10.z Exclude unneeded files from build output Original-merge: c5cc093fba14e872a809009f2909b614e61f07c8 Merged-by: thornbill Backported-by: Joshua M. Boniface --- webpack.common.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/webpack.common.js b/webpack.common.js index 16fdab0ae0..058b4f3c1e 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -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' + ] } } ]