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