View | Details | Raw Unified | Return to bug 36674
Collapse All | Expand All

(-)a/package.json (+1 lines)
Lines 53-58 Link Here
53
    "js:build:analyze": "rspack build --mode development --analyze",
53
    "js:build:analyze": "rspack build --mode development --analyze",
54
    "js:watch": "rspack build --mode development --watch",
54
    "js:watch": "rspack build --mode development --watch",
55
    "js:build:prod": "rspack build --mode production",
55
    "js:build:prod": "rspack build --mode production",
56
    "js:clean": "find koha-tmpl/intranet-tmpl/prog/js/vue/dist -type f -name '*.js*' -delete && find t/cypress/plugins/dist -type f -name '*.js*' -delete",
56
    "build": "yarn css:build && yarn js:build && yarn api:bundle",
57
    "build": "yarn css:build && yarn js:build && yarn api:bundle",
57
    "build:prod": "yarn css:build:prod && yarn js:build:prod && yarn api:bundle",
58
    "build:prod": "yarn css:build:prod && yarn js:build:prod && yarn api:bundle",
58
    "cypress": "cypress",
59
    "cypress": "cypress",
(-)a/rspack.config.js (-1 / +1 lines)
Lines 171-176 module.exports = [ Link Here
171
            "api-client.cjs":
171
            "api-client.cjs":
172
                "./koha-tmpl/intranet-tmpl/prog/js/fetch/api-client.js",
172
                "./koha-tmpl/intranet-tmpl/prog/js/fetch/api-client.js",
173
        },
173
        },
174
        devtool: false,
174
        output: {
175
        output: {
175
            filename: "[name].js",
176
            filename: "[name].js",
176
            path: path.resolve(__dirname, "t/cypress/plugins/dist/"),
177
            path: path.resolve(__dirname, "t/cypress/plugins/dist/"),
177
- 

Return to bug 36674