@guren/server 0.1.1-alpha.2 → 0.1.1-alpha.4

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1071,10 +1071,12 @@ var Application = class {
1071
1071
  import { serveStatic } from "hono/bun";
1072
1072
  import { dirname, extname, resolve } from "path";
1073
1073
  import { fileURLToPath } from "url";
1074
+ import { createRequire } from "module";
1074
1075
  var DEFAULT_PREFIX = "/resources/js";
1075
1076
  var DEFAULT_VENDOR_PATH = "/vendor/inertia-client.tsx";
1076
1077
  var DEFAULT_JSX_RUNTIME = "https://esm.sh/react@19.0.0/jsx-dev-runtime?dev";
1077
- var gurenInertiaClient = fileURLToPath(new URL("../../../inertia-client/src/app.tsx", import.meta.url));
1078
+ var require2 = createRequire(import.meta.url);
1079
+ var gurenInertiaClient = require2.resolve("@guren/inertia-client/app");
1078
1080
  function registerDevAssets(app, options) {
1079
1081
  if (typeof Bun === "undefined") {
1080
1082
  throw new Error("Bun runtime is required for dev asset serving.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guren/server",
3
- "version": "0.1.1-alpha.2",
3
+ "version": "0.1.1-alpha.4",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -37,7 +37,7 @@
37
37
  "test": "bun test"
38
38
  },
39
39
  "dependencies": {
40
- "@guren/inertia-client": "^0.1.1-alpha.2",
40
+ "@guren/inertia-client": "^0.1.1-alpha.4",
41
41
  "hono": "^4.4.0"
42
42
  },
43
43
  "devDependencies": {