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:
parent
8bfb9451bf
commit
27524f87e3
1 changed files with 8 additions and 0 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue