Bug 43401: (follow-up) Note the Makefile.PL coupling in rspack.config.js

- Add a file-level comment reminding that every shipped output.path needs a
  matching 'NONE' target-map entry and cp step in Makefile.PL

Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Paul Derscheid 2026-08-28 09:06:58 +02:00 committed by Lucas Gass
parent 7e9beb0bb0
commit e95ef486c2
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@ const { VueLoaderPlugin } = require("vue-loader");
const path = require("path");
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).
const islandsExport = application => {
const vueDir =
application === "intranet"