@c9up/aurora 0.1.18 → 0.1.19
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/dist/AuroraManager.js +6 -1
- package/package.json +1 -1
- package/src/AuroraManager.ts +6 -1
package/dist/AuroraManager.js
CHANGED
|
@@ -73,7 +73,12 @@ export class AuroraManager {
|
|
|
73
73
|
...options,
|
|
74
74
|
importmap: {
|
|
75
75
|
"@c9up/aurora": `${this.auroraAssetPath}/index.js`,
|
|
76
|
-
//
|
|
76
|
+
// The browser-facing subpath (RPC client) needs an explicit entry —
|
|
77
|
+
// importmaps don't read package `exports`, and an extensionless bare
|
|
78
|
+
// specifier won't hit a trailing-slash prefix map. Served from the
|
|
79
|
+
// same aurora dist; harmless when a page never imports it.
|
|
80
|
+
"@c9up/aurora/rpc": `${this.auroraAssetPath}/rpc.js`,
|
|
81
|
+
// Auto-map @c9up/comet when installed so the rpc client's bare
|
|
77
82
|
// `import '@c9up/comet'` resolves in the no-bundler browser — no
|
|
78
83
|
// app-side importmap wiring. Omitted when comet isn't present.
|
|
79
84
|
...(this.cometDistRoot
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c9up/aurora",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "Aurora — reactive UI runtime for the Ream framework. Tagged-template DOM, signal-based state, isomorphic SSR + hydration, zero build step.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/src/AuroraManager.ts
CHANGED
|
@@ -121,7 +121,12 @@ export class AuroraManager {
|
|
|
121
121
|
...options,
|
|
122
122
|
importmap: {
|
|
123
123
|
"@c9up/aurora": `${this.auroraAssetPath}/index.js`,
|
|
124
|
-
//
|
|
124
|
+
// The browser-facing subpath (RPC client) needs an explicit entry —
|
|
125
|
+
// importmaps don't read package `exports`, and an extensionless bare
|
|
126
|
+
// specifier won't hit a trailing-slash prefix map. Served from the
|
|
127
|
+
// same aurora dist; harmless when a page never imports it.
|
|
128
|
+
"@c9up/aurora/rpc": `${this.auroraAssetPath}/rpc.js`,
|
|
129
|
+
// Auto-map @c9up/comet when installed so the rpc client's bare
|
|
125
130
|
// `import '@c9up/comet'` resolves in the no-bundler browser — no
|
|
126
131
|
// app-side importmap wiring. Omitted when comet isn't present.
|
|
127
132
|
...(this.cometDistRoot
|