waibu-mpa 2.11.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,6 +45,7 @@ export async function build ({ files, pathPrefix, dir, ns, cfg, parent, urlPrefi
45
45
  m.config.prefix = getPluginPrefix(ns)
46
46
  m.config.pathSrc = m.url
47
47
  m.config.webApp = parent ?? ns
48
+ m.config.interSite = m.interSite
48
49
  m.config.ns = ns
49
50
  m.config.subNs = ''
50
51
  m.config.title = m.title ?? camelCase(last(m.url.split('/')))
@@ -19,7 +19,7 @@ async function loadResource (mod = [], item) {
19
19
  } else items.push(mod[item][i])
20
20
  }
21
21
  for (const c of extItems) {
22
- let emod = await readConfig(`${c.ns}:${c.path}`, { ns: c.ns })
22
+ let emod = await readConfig(`${c.ns}:${c.path}`, { ns: c.ns, ignoreError: false })
23
23
  if (!isArray(emod)) emod = [emod]
24
24
  for (const m of emod) {
25
25
  items.push(m)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-mpa",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "MPA support for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-03-30
4
+
5
+ - [2.12.0] Add inter site module support
6
+
3
7
  ## 2026-03-27
4
8
 
5
9
  - [2.11.0] Add options to enable cache with Bajo Cache module