diff --git a/Makefile.PL b/Makefile.PL index 3e2365c75b..8292116e44 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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: Copy the generated vue dist files into the relevant blib $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" . 'mkdir -p blib/OPAC_TMPL_DIR/bootstrap/js/vue/' . "\n"; $compile_step .= "\t" . 'cp -r koha-tmpl/opac-tmpl/bootstrap/js/vue/dist blib/OPAC_TMPL_DIR/bootstrap/js/vue/' . "\n"; $compile_step .= "\n"; diff --git a/rspack.config.js b/rspack.config.js index bfb456e897..3c706c9856 100644 --- a/rspack.config.js +++ b/rspack.config.js @@ -6,7 +6,7 @@ const rspack = require("@rspack/core"); // 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 // 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 vueDir =