rimecms 0.30.1 → 0.30.2

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.
@@ -66,7 +66,12 @@ export function rime() {
66
66
  external: ['sharp']
67
67
  },
68
68
  optimizeDeps: {
69
- exclude: ['sharp'],
69
+ // rimecms/fields and rimecms/panel must not be pre-bundled: esbuild flattens
70
+ // their source files into one chunk, which erases the per-file identity that
71
+ // the $rime/runtime virtual module (see resolveId/load below) relies on to find
72
+ // each field's sibling runtime.ts/runtime.server.ts — pre-bundling makes the
73
+ // "importer" resolve to the chunk itself instead of the real source file.
74
+ exclude: ['sharp', 'rimecms', 'rimecms/fields', 'rimecms/panel'],
70
75
  include: ['@lucide/svelte']
71
76
  },
72
77
  build: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimecms",
3
- "version": "0.30.1",
3
+ "version": "0.30.2",
4
4
  "homepage": "https://github.com/bienbiendev/rime",
5
5
  "scripts": {
6
6
  "dev": "vite dev",