Bugzilla – Attachment 189012 Details for
Bug 36674
Lazy load api-client JS files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36674: (follow-up) Stop emitting Cypress API client source maps
Bug-36674-follow-up-Stop-emitting-Cypress-API-clie.patch (text/plain), 1.52 KB, created by
Paul Derscheid
on 2025-11-04 13:39:36 UTC
(
hide
)
Description:
Bug 36674: (follow-up) Stop emitting Cypress API client source maps
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2025-11-04 13:39:36 UTC
Size:
1.52 KB
patch
obsolete
>From 189ad604385e585f8093212c21ff9f0f77f95ebe Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Tue, 4 Nov 2025 13:37:49 +0000 >Subject: [PATCH] Bug 36674: (follow-up) Stop emitting Cypress API client > source maps > >- Use devtool: false to prevent emitting source maps for cypress. >- Add package script to clean built assets, artifacts. >--- > package.json | 1 + > rspack.config.js | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/package.json b/package.json >index 5dea65c54f9..c6a53b1b133 100644 >--- a/package.json >+++ b/package.json >@@ -53,6 +53,7 @@ > "js:build:analyze": "rspack build --mode development --analyze", > "js:watch": "rspack build --mode development --watch", > "js:build:prod": "rspack build --mode production", >+ "js:clean": "find koha-tmpl/intranet-tmpl/prog/js/vue/dist -type f -name '*.js*' -delete && find t/cypress/plugins/dist -type f -name '*.js*' -delete", > "build": "yarn css:build && yarn js:build && yarn api:bundle", > "build:prod": "yarn css:build:prod && yarn js:build:prod && yarn api:bundle", > "cypress": "cypress", >diff --git a/rspack.config.js b/rspack.config.js >index e05273fb7b5..bec0d758ea7 100644 >--- a/rspack.config.js >+++ b/rspack.config.js >@@ -171,6 +171,7 @@ module.exports = [ > "api-client.cjs": > "./koha-tmpl/intranet-tmpl/prog/js/fetch/api-client.js", > }, >+ devtool: false, > output: { > filename: "[name].js", > path: path.resolve(__dirname, "t/cypress/plugins/dist/"), >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36674
:
186551
|
186616
|
186617
|
186994
|
186995
|
187826
|
188316
|
188326
|
189012
|
189153
|
189551