Bugzilla – Attachment 181489 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) Use style-, css-loader to preserve compatiblity with Koha's Vue components, e.g. Dialog.vue
Bug-37911-follow-up-Use-style--css-loader-to-prese.patch (text/plain), 1.36 KB, created by
Matt Blenkinsop
on 2025-04-25 08:29:57 UTC
(
hide
)
Description:
Bug 37911: (follow-up) Use style-, css-loader to preserve compatiblity with Koha's Vue components, e.g. Dialog.vue
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-04-25 08:29:57 UTC
Size:
1.36 KB
patch
obsolete
>From 7e8fa06d6c11de9482144bcfc7215ddecbf66ce4 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Tue, 8 Apr 2025 10:59:52 +0200 >Subject: [PATCH] Bug 37911: (follow-up) Use style-, css-loader to preserve > compatiblity with Koha's Vue components, e.g. Dialog.vue > >- For now let's not rely on rspack's native css loader to parse and > bundle styles as we need to preserve compatibility. >- Reintroduce configuration block for style-, css-loader for islands. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > rspack.config.js | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/rspack.config.js b/rspack.config.js >index c4ee7d9a491..968f30dd4ae 100644 >--- a/rspack.config.js >+++ b/rspack.config.js >@@ -82,7 +82,6 @@ module.exports = [ > }, > { > experiments: { >- css: true, > outputModule: true, > }, > entry: { >@@ -126,7 +125,12 @@ module.exports = [ > path.resolve(__dirname, "t/cypress/"), > ], > type: "javascript/auto", >- } >+ }, >+ { >+ test: /\.css$/i, >+ type: "javascript/auto", >+ use: ["style-loader", "css-loader"], >+ }, > ], > }, > plugins: [ >-- >2.48.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