@hono/vite-ssg 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/dist/ssg.js +2 -1
  2. package/package.json +2 -2
package/dist/ssg.js CHANGED
@@ -42,7 +42,8 @@ const ssgBuild = (options) => {
42
42
  }
43
43
  const server = await createServer({
44
44
  plugins: [],
45
- build: { ssr: true }
45
+ build: { ssr: true },
46
+ mode: config.mode
46
47
  });
47
48
  const module = await server.ssrLoadModule(entry);
48
49
  const app = module["default"];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hono/vite-ssg",
3
3
  "description": "Vite plugin to generate a static site from your Hono application",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.js",
7
7
  "type": "module",
@@ -45,7 +45,7 @@
45
45
  "publint": "^0.1.12",
46
46
  "rimraf": "^5.0.1",
47
47
  "tsup": "^7.2.0",
48
- "vite": "^5.2.10",
48
+ "vite": "^6.1.1",
49
49
  "vitest": "^1.2.1"
50
50
  },
51
51
  "peerDependencies": {