@radio-garden/ditojs-server 2.92.0-0.090fe8efc → 2.92.0-1.79f40ebcd

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radio-garden/ditojs-server",
3
- "version": "2.92.0-0.090fe8efc",
3
+ "version": "2.92.0-1.79f40ebcd",
4
4
  "type": "module",
5
5
  "description": "Dito.js Server – Dito.js is a declarative and modern web framework, based on Objection.js, Koa.js and Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/main/packages/server",
@@ -62,9 +62,9 @@
62
62
  "type-fest": "^5.4.4",
63
63
  "uuid": "^13.0.0",
64
64
  "@ditojs/admin": "^2.92.0",
65
- "@ditojs/router": "^2.92.0",
66
65
  "@ditojs/build": "^2.92.0",
67
- "@ditojs/utils": "^2.92.0"
66
+ "@ditojs/utils": "^2.92.0",
67
+ "@ditojs/router": "^2.92.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@aws-sdk/client-s3": "^3.0.0",
@@ -87,7 +87,7 @@
87
87
  "objection": "^3.1.5",
88
88
  "typescript": "^5.9.3"
89
89
  },
90
- "gitHead": "090fe8efc",
90
+ "gitHead": "79f40ebcd",
91
91
  "gitBranch": "rg",
92
92
  "scripts": {
93
93
  "types": "tsc --noEmit --esModuleInterop ./types/index.d.ts"
@@ -205,9 +205,12 @@ export class AdminController extends Controller {
205
205
  rollupOptions: {
206
206
  output: {
207
207
  manualChunks: id => {
208
- if (id.startsWith(views)) {
208
+ // Strip Rollup's \0 prefix used for virtual modules
209
+ // (e.g. CJS interop modules like ?commonjs-module)
210
+ const cleanId = id.replace(/^\0/, '')
211
+ if (cleanId.startsWith(views)) {
209
212
  return 'views'
210
- } else if (id.startsWith(this.app.basePath)) {
213
+ } else if (cleanId.startsWith(this.app.basePath)) {
211
214
  return 'common'
212
215
  } else {
213
216
  const module = id.match(