Bug 38993: (follow-up) Add 'fetch' alias to rspack config

Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Paul Derscheid 2025-01-29 16:34:31 +00:00 committed by Katrin Fischer
parent 8bfb9451bf
commit 27524f87e3
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -4,6 +4,14 @@ const path = require("path");
const rspack = require("@rspack/core");
module.exports = {
resolve: {
alias: {
"@fetch": path.resolve(
__dirname,
"koha-tmpl/intranet-tmpl/prog/js/fetch"
),
},
},
experiments: {
css: true,
},