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

(-)a/rspack.config.js (-9 / +7 lines)
Lines 6-19 const rspack = require("@rspack/core"); Link Here
6
module.exports = [
6
module.exports = [
7
    {
7
    {
8
        resolve: {
8
        resolve: {
9
        alias: {
9
            alias: {
10
            "@fetch": path.resolve(
10
                "@fetch": path.resolve(
11
                __dirname,
11
                    __dirname,
12
                "koha-tmpl/intranet-tmpl/prog/js/fetch"
12
                    "koha-tmpl/intranet-tmpl/prog/js/fetch"
13
            ),
13
                ),
14
            },
14
        },
15
        },
15
    },
16
        experiments: {
16
    experiments: {
17
            css: true,
17
            css: true,
18
        },
18
        },
19
        entry: {
19
        entry: {
Lines 22-28 module.exports = [ Link Here
22
                "./koha-tmpl/intranet-tmpl/prog/js/vue/modules/preservation.ts",
22
                "./koha-tmpl/intranet-tmpl/prog/js/vue/modules/preservation.ts",
23
            "admin/record_sources":
23
            "admin/record_sources":
24
                "./koha-tmpl/intranet-tmpl/prog/js/vue/modules/admin/record_sources.ts",
24
                "./koha-tmpl/intranet-tmpl/prog/js/vue/modules/admin/record_sources.ts",
25
            islands: "./koha-tmpl/intranet-tmpl/prog/js/vue/modules/islands.ts",
26
        },
25
        },
27
        output: {
26
        output: {
28
            filename: "[name].js",
27
            filename: "[name].js",
29
- 

Return to bug 37911