Bugzilla – Attachment 181284 Details for
Bug 37911
Prototype vue islands within static pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37911: (follow-up) Let style-, css-loader handle styles in Koha's Vue apps
Bug-37911-follow-up-Let-style--css-loader-handle-s.patch (text/plain), 1.43 KB, created by
Jonathan Druart
on 2025-04-22 14:29:58 UTC
(
hide
)
Description:
Bug 37911: (follow-up) Let style-, css-loader handle styles in Koha's Vue apps
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-04-22 14:29:58 UTC
Size:
1.43 KB
patch
obsolete
>From 9ef36bfdc7d038b8e5c8f98445a0a0cd667d8fc1 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Mon, 7 Apr 2025 15:05:07 +0200 >Subject: [PATCH] Bug 37911: (follow-up) Let style-, css-loader handle styles > in Koha's Vue apps > >- Remove 'experiments: css' for the first config block since it seems to do 2 passes when building the css. >- Remove style-, css-loader configuration for islands as I assume it is unneeded in this case. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > rspack.config.js | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-) > >diff --git a/rspack.config.js b/rspack.config.js >index bd61fe6c0f7..c4ee7d9a491 100644 >--- a/rspack.config.js >+++ b/rspack.config.js >@@ -13,9 +13,6 @@ module.exports = [ > ), > }, > }, >- experiments: { >- css: true, >- }, > entry: { > erm: "./koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts", > preservation: >@@ -129,12 +126,7 @@ module.exports = [ > path.resolve(__dirname, "t/cypress/"), > ], > type: "javascript/auto", >- }, >- { >- test: /\.css$/i, >- type: "javascript/auto", >- use: ["style-loader", "css-loader"], >- }, >+ } > ], > }, > plugins: [ >-- >2.34.1
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 37911
:
171425
|
171426
|
171432
|
171439
|
171440
|
171445
|
171459
|
171517
|
171538
|
171608
|
171685
|
172962
|
172963
|
172965
|
172966
|
172967
|
172968
|
172969
|
172970
|
172971
|
172972
|
172973
|
172974
|
172975
|
176959
|
176960
|
176961
|
176962
|
176963
|
176964
|
176965
|
176966
|
176967
|
176968
|
176969
|
176970
|
176972
|
178256
|
178257
|
178258
|
178259
|
178260
|
178261
|
178262
|
178263
|
178264
|
178265
|
178266
|
178267
|
180113
|
180114
|
180115
|
180116
|
180117
|
180118
|
180119
|
180120
|
180121
|
180122
|
180123
|
180124
|
180125
|
180129
|
180696
|
180697
|
180714
|
180805
|
181269
|
181270
|
181271
|
181272
|
181273
|
181274
|
181275
|
181276
|
181277
|
181278
|
181279
|
181280
|
181281
|
181282
|
181283
|
181284
|
181285
|
181286
|
181473
|
181474
|
181475
|
181476
|
181477
|
181478
|
181479
|
181480
|
181481
|
181482
|
181483
|
181484
|
181485
|
181486
|
181487
|
181488
|
181489
|
181490
|
181566
|
181567