@@ -, +, @@ --- Makefile.PL | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) --- a/Makefile.PL +++ a/Makefile.PL @@ -683,6 +683,8 @@ $file_map->{'koha-tmpl/opac-tmpl/bootstrap/css/print.css'} = 'blib/OPAC_TMPL_DIR $file_map->{'koha-tmpl/opac-tmpl/bootstrap/css/print-rtl.css'} = 'blib/OPAC_TMPL_DIR/bootstrap/css/print-rtl.css'; $file_map->{'koha-tmpl/opac-tmpl/bootstrap/css/sco.css'} = 'blib/OPAC_TMPL_DIR/bootstrap/css/sco.css'; $file_map->{'koha-tmpl/opac-tmpl/bootstrap/css/sco-rtl.css'} = 'blib/OPAC_TMPL_DIR/bootstrap/css/sco-rtl.css'; +#API_CGI_DIR +$file_map->{'api/v1/swagger/swagger_bundle.json'} = 'blib/API_CGI_DIR/v1/swagger/swagger_bundle.json'; my $pl_files = { 'rewrite-config.PL' => [ --- a/package.json +++ a/package.json @@ -51,7 +51,7 @@ "js:watch": "webpack --mode development --watch", "js:build:prod": "webpack --mode production", "build": "yarn css:build && yarn js:build && yarn api:bundle", - "build:prod": "yarn css:build:prod && yarn js:build:prod", + "build:prod": "yarn css:build:prod && yarn js:build:prod && yarn api:bundle", "cypress": "cypress", "prettier": "prettier", "api:bundle": "redocly bundle --ext json api/v1/swagger/swagger.yaml --output api/v1/swagger/swagger_bundle.json" --