Bug 43401: (QA follow-up) tweak rspack.config.js comment and fix Makefile.PL

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
David Cook 2026-09-11 00:52:38 +00:00 committed by Pedro Amorim
parent 8339307961
commit 448419f918
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
2 changed files with 3 additions and 1 deletions

View File

@ -1942,7 +1942,9 @@ sub top_targets {
#NOTE: Make move_compiled_js depend on pm_to_blib, so we have access to the blib directory #NOTE: Make move_compiled_js depend on pm_to_blib, so we have access to the blib directory
#NOTE: Copy the generated vue dist files into the relevant blib #NOTE: Copy the generated vue dist files into the relevant blib
$compile_step .= "move_compiled_js: compile_css_js pm_to_blib\n"; $compile_step .= "move_compiled_js: compile_css_js pm_to_blib\n";
$compile_step .= "\t" . 'mkdir -p blib/INTRANET_TMPL_DIR/prog/js/vue/' . "\n";
$compile_step .= "\t" . 'cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/' . "\n"; $compile_step .= "\t" . 'cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/' . "\n";
$compile_step .= "\t" . 'mkdir -p blib/OPAC_TMPL_DIR/bootstrap/js/vue/' . "\n";
$compile_step .= $compile_step .=
"\t" . 'cp -r koha-tmpl/opac-tmpl/bootstrap/js/vue/dist blib/OPAC_TMPL_DIR/bootstrap/js/vue/' . "\n"; "\t" . 'cp -r koha-tmpl/opac-tmpl/bootstrap/js/vue/dist blib/OPAC_TMPL_DIR/bootstrap/js/vue/' . "\n";
$compile_step .= "\n"; $compile_step .= "\n";

View File

@ -6,7 +6,7 @@ const rspack = require("@rspack/core");
// NOTE: Every output.path under koha-tmpl/ that ships must also be handled in // NOTE: Every output.path under koha-tmpl/ that ships must also be handled in
// Makefile.PL: the 'NONE' entries in the target-directory map and the cp -r // Makefile.PL: the 'NONE' entries in the target-directory map and the cp -r
// lines in the compile step. A new dist dir added here without both changes is // lines in the compile step. A new dist dir added here without both changes is
// silently omitted from packaged builds (see Bug 43401). // silently omitted from builds from source (see Bug 43401).
const islandsExport = application => { const islandsExport = application => {
const vueDir = const vueDir =