waibu-mpa 2.23.0 → 2.24.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.
@@ -1,4 +1,4 @@
1
- import { collectViewEngines, collectThemes, collectIconsets } from '../../lib/helper.js'
1
+ import { collectViewEngines, collectThemes, collectIconsets } from '../../../lib/helper.js'
2
2
 
3
3
  const boot = {
4
4
  level: 10,
@@ -12,7 +12,6 @@ async function resolveFile (req) {
12
12
  throw this.error('_notFound')
13
13
  }
14
14
  // 1. main
15
- console.log(`${this.app.main.dir.pkg}/asset/logo${type}.*`)
16
15
  files = await fastGlob(`${this.app.main.dir.pkg}/asset/logo${type}.*`)
17
16
  // 2. site attachment
18
17
  if (files.length > 0) return files[0]
@@ -6,7 +6,7 @@ const wmpa = {
6
6
  const { get, trim, cloneDeep } = this.app.lib._
7
7
  const { getPluginPrefix } = this.app.waibu
8
8
  const { importModule } = this.app.bajo
9
- const { types: formatTypes, formats } = await importModule('bajo:/lib/formats.js', { asDefaultImport: false })
9
+ const { types: formatTypes, formats } = await importModule('bajo:/lib/helper.js', { asDefaultImport: false })
10
10
  const prefix = {
11
11
  virtual: `/${getPluginPrefix('waibuStatic')}/${this.app.waibu.config.prefixVirtual}`,
12
12
  asset: `/${getPluginPrefix('waibuStatic')}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-mpa",
3
- "version": "2.23.0",
3
+ "version": "2.24.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,11 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-07-08
4
+
5
+ - [2.24.0] Update webapp boot process
6
+ - [2.24.0] Update on documentations
7
+ - [2.24.0] Bug fix in `wmpa.js`
8
+
3
9
  ## 2026-07-04
4
10
 
5
11
  - [2.23.0] Reorganize projects to reduce boot time