houdini-react 2.0.0-next.2 → 2.0.0-next.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.
@@ -89550,11 +89550,11 @@ var vite_default = {
89550
89550
  }
89551
89551
  return id.substring(id.indexOf("virtual:houdini"));
89552
89552
  },
89553
- async closeBundle(config) {
89553
+ async buildEnd(_, config) {
89554
89554
  if (isSecondaryBuild() || viteEnv.mode !== "production" || devServer) {
89555
89555
  return;
89556
89556
  }
89557
- if (config.adapter?.disableServer) {
89557
+ if (!config || config.adapter?.disableServer) {
89558
89558
  return;
89559
89559
  }
89560
89560
  console.log("\u{1F3A9} Generating Server Assets...");
@@ -89546,11 +89546,11 @@ var vite_default = {
89546
89546
  }
89547
89547
  return id.substring(id.indexOf("virtual:houdini"));
89548
89548
  },
89549
- async closeBundle(config) {
89549
+ async buildEnd(_, config) {
89550
89550
  if (isSecondaryBuild() || viteEnv.mode !== "production" || devServer) {
89551
89551
  return;
89552
89552
  }
89553
- if (config.adapter?.disableServer) {
89553
+ if (!config || config.adapter?.disableServer) {
89554
89554
  return;
89555
89555
  }
89556
89556
  console.log("\u{1F3A9} Generating Server Assets...");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-react",
3
- "version": "2.0.0-next.2",
3
+ "version": "2.0.0-next.4",
4
4
  "description": "The React plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -42,7 +42,7 @@
42
42
  "recast": "^0.23.1",
43
43
  "rollup": "^4.39.0",
44
44
  "use-deep-compare-effect": "^1.8.1",
45
- "houdini": "^2.0.0-next.2"
45
+ "houdini": "^2.0.0-next.4"
46
46
  },
47
47
  "files": [
48
48
  "build"