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> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
c7f5e2740c
commit
b724ffc16c
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue