@mandujs/core 0.4.1 → 0.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mandujs/core",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Mandu Framework Core - Spec, Generator, Guard, Runtime",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -220,12 +220,14 @@ export * as ReactDOMClient from 'react-dom/client';
220
220
  * Island 엔트리 래퍼 생성
221
221
  */
222
222
  function generateIslandEntry(routeId: string, clientModulePath: string): string {
223
+ // Windows 경로의 백슬래시를 슬래시로 변환 (JS escape 문제 방지)
224
+ const normalizedPath = clientModulePath.replace(/\\/g, "/");
223
225
  return `
224
226
  /**
225
227
  * Mandu Island Entry: ${routeId} (Generated)
226
228
  */
227
229
 
228
- import island from "${clientModulePath}";
230
+ import island from "${normalizedPath}";
229
231
  import { registerIsland } from "./_runtime.js";
230
232
 
231
233
  registerIsland("${routeId}", () => island);