FS#79713 - [jellyfin-web] webpack is built twice

Attached to Project: Arch Linux
Opened by Leon Möller (jkhsjdhjs) - Saturday, 16 September 2023, 21:36 GMT
Last edited by George Rawlinson (rawlinsong) - Friday, 22 September 2023, 09:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To George Rawlinson (rawlinsong)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
jellyfin-web currently comes with a `prepare` script, which builds the production webpack when `npm ci` is ran: https://github.com/jellyfin/jellyfin-web/blob/55714d5341d6bbfdb4d8b0b4c9b6955d4db14f34/scripts/prepare.js
Thus, the webpack is currently built twice, once in the prepare() step by `npm ci` and again in the build() step by `npm run build:production`.

The script has been removed 6 months ago on the master branch, but is still present on the release-10.8.z branch this package is built from.
I assume the script will be gone with the 10.9.z release series.
Until then, the environment variable `SKIP_PREPARE=1` can be set to skip building the webpack during `npm ci`.

Additional info:
* package version(s) 10.8.10-3
This task depends upon

Closed by  George Rawlinson (rawlinsong)
Friday, 22 September 2023, 09:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in commit 82eee7b390357ff8e642f7c60d508beb9be1267f

Loading...