vite-plugin-kiru 0.29.4 → 0.29.5

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 +1 -11
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -2256,9 +2256,6 @@ var defaultSSGOptions = {
2256
2256
  maxConcurrentRenders: 100
2257
2257
  }
2258
2258
  };
2259
- var manualChunks = {
2260
- kiru: ["kiru", "kiru/router", "kiru/router/client"]
2261
- };
2262
2259
  function createPluginState(opts = {}) {
2263
2260
  let fileLinkFormatter = (path8, line) => `vscode://file/${path8}:${line}`;
2264
2261
  let dtClientPathname = "/__devtools__";
@@ -2324,13 +2321,6 @@ function createViteConfig(config, opts) {
2324
2321
  esbuild: {
2325
2322
  ...defaultEsBuildOptions,
2326
2323
  ...config.esbuild
2327
- },
2328
- build: {
2329
- rollupOptions: {
2330
- output: {
2331
- manualChunks
2332
- }
2333
- }
2334
2324
  }
2335
2325
  };
2336
2326
  }
@@ -2359,7 +2349,7 @@ function createViteConfig(config, opts) {
2359
2349
  rollupOptions: {
2360
2350
  ...rollup,
2361
2351
  output: {
2362
- manualChunks
2352
+ manualChunks: ssr ? {} : { kiru: ["kiru", "kiru/router", "kiru/router/client"] }
2363
2353
  },
2364
2354
  input
2365
2355
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-kiru",
3
- "version": "0.29.4",
3
+ "version": "0.29.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -17,8 +17,8 @@
17
17
  "rollup": "^4.46.2",
18
18
  "tsx": "^4.20.3",
19
19
  "typescript": "^5.9.2",
20
- "kiru-devtools-client": "^0.0.0",
21
- "kiru-devtools-host": "^1.0.0"
20
+ "kiru-devtools-host": "^1.0.0",
21
+ "kiru-devtools-client": "^0.0.0"
22
22
  },
23
23
  "dependencies": {
24
24
  "magic-string": "^0.30.17",