You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add `@netlify/vite-plugin-tanstack-start`
This adds a framework-agnostic Vite build plugin that prepares a Vite app for deployment to Netlify. It expects that the
Vite app has an `ssr` environment (and no other server environments to deploy) that has exactly one bundle entry and
that this entry is a server request entry point, a module with a default export containing a Web Fetch handler under the
`fetch` property. TanStack Start meets all these conditions.
This build plugin can be opted into via the intentionally private, undocumented `build.enabled` option, passed into
`@netlify/vite-plugin`.
This also adds a new `@netlify/vite-plugin-tanstack-start` which just wraps `@netlify/vite-plugin` with this enabled.
At the moment, this only supports TanStack Start `alpha`, but this will be released imminently (presumably v.1.132 or
so). As such, it inherits its requirements:
- Vite 7+
- Node.js 22.12.0+
* chore: try a longer hook timeout
* refactor: remove unnecessary internal dep
* fix(docs): fix incorrect options in readme
* fix(types): add clearer private callout
* chore: fix potential e2e deploy helper issue
* ci: try even higher timeout for Windows
* chore: try npm for e2e fixture install
pnpm seems to be problematic on Windows CI...
* fix: revert vite plugin type fix for now
We'll do this in a separate PR to be safe.
* chore: actually use npm correctly in deploy helper.
follow-up to d117f25
You can't use `overrides` for a direct dependency unless the values are identical...
* fix: handle duplicate instances of our plugin
Because we now have framework-specific plugins that load our generic plugin, we should make sure
nothing bad happens if a user also includes our generic plugin directly.
I went down a few different paths here and this ended up seeming like the best approach: just warn
when we detect multiple instances in dev. Build is tricky because by design our plugin will be
instantiated once per environment (e.g. client + ssr). And it ends up generally not being a problem
if it's duplicated in build anyway, just dev.
* chore: better error logging for failed e2e deploy
* chore: fix e2e deploy bug
* chore: actually bump e2e timeout
math is hard
* chore: improve e2e deploy logging
* chore: try even higher Windows e2e timeout
* test: skip tanstack plugin Windows tests for now
also fix technically incorrect node version check
| 🤖 [@netlify/ai](packages/ai)| TypeScript utilities for interacting with Netlify AI features |[](https://www.npmjs.com/package/@netlify/ai)|
33
-
| 🗄️ [@netlify/blobs](packages/blobs)| TypeScript client for Netlify Blobs |[](https://www.npmjs.com/package/@netlify/blobs)|
34
-
| 💾 [@netlify/cache](packages/cache)| TypeScript utilities for interacting with the Netlify cache |[](https://www.npmjs.com/package/@netlify/cache)|
35
-
| 🛠️ [@netlify/dev](packages/dev)| Emulation of the Netlify environment for local development |[](https://www.npmjs.com/package/@netlify/dev)|
36
-
| 🔧 [@netlify/dev-utils](packages/dev-utils)| TypeScript utilities for the local emulation of the Netlify environment |[](https://www.npmjs.com/package/@netlify/dev-utils)|
37
-
| ⚡ [@netlify/functions](packages/functions)| TypeScript utilities for interacting with Netlify Functions |[](https://www.npmjs.com/package/@netlify/functions)|
| 🖼️ [@netlify/images](packages/images)| TypeScript utilities for interacting with Netlify Image CDN |[](https://www.npmjs.com/package/@netlify/images)|
40
-
| 🚀 [@netlify/nuxt](packages/nuxt-module)| Nuxt module with a local emulation of the Netlify environment |[](https://www.npmjs.com/package/@netlify/nuxt)|
41
-
| 🔍 [@netlify/otel](packages/otel)| TypeScript utilities to interact with Netlify's OpenTelemetry |[](https://www.npmjs.com/package/@netlify/otel)|
42
-
| 🔄 [@netlify/redirects](packages/redirects)| TypeScript implementation of Netlify's rewrites and redirects engine |[](https://www.npmjs.com/package/@netlify/redirects)|
| 🔌 [@netlify/vite-plugin](packages/vite-plugin)| Vite plugin with a local emulation of the Netlify environment |[](https://www.npmjs.com/package/@netlify/vite-plugin)|
| 🤖 [@netlify/ai](packages/ai)| TypeScript utilities for interacting with Netlify AI features |[](https://www.npmjs.com/package/@netlify/ai)|
33
+
| 🗄️ [@netlify/blobs](packages/blobs)| TypeScript client for Netlify Blobs |[](https://www.npmjs.com/package/@netlify/blobs)|
34
+
| 💾 [@netlify/cache](packages/cache)| TypeScript utilities for interacting with the Netlify cache |[](https://www.npmjs.com/package/@netlify/cache)|
35
+
| 🛠️ [@netlify/dev](packages/dev)| Emulation of the Netlify environment for local development |[](https://www.npmjs.com/package/@netlify/dev)|
36
+
| 🔧 [@netlify/dev-utils](packages/dev-utils)| TypeScript utilities for the local emulation of the Netlify environment |[](https://www.npmjs.com/package/@netlify/dev-utils)|
37
+
| ⚡ [@netlify/functions](packages/functions)| TypeScript utilities for interacting with Netlify Functions |[](https://www.npmjs.com/package/@netlify/functions)|
| 🖼️ [@netlify/images](packages/images)| TypeScript utilities for interacting with Netlify Image CDN |[](https://www.npmjs.com/package/@netlify/images)|
40
+
| 🚀 [@netlify/nuxt](packages/nuxt-module)| Nuxt module with a local emulation of the Netlify environment |[](https://www.npmjs.com/package/@netlify/nuxt)|
41
+
| 🔍 [@netlify/otel](packages/otel)| TypeScript utilities to interact with Netlify's OpenTelemetry |[](https://www.npmjs.com/package/@netlify/otel)|
42
+
| 🔄 [@netlify/redirects](packages/redirects)| TypeScript implementation of Netlify's rewrites and redirects engine |[](https://www.npmjs.com/package/@netlify/redirects)|
| 🔌 [@netlify/vite-plugin](packages/vite-plugin)| Vite plugin with a local emulation of the Netlify environment |[](https://www.npmjs.com/package/@netlify/vite-plugin)|
48
+
| 🔌 [@netlify/vite-plugin-tanstack-start](packages/vite-plugin-tanstack-start)| Vite plugin for TanStack Start on Netlify |[](https://www.npmjs.com/package/@netlify/vite-plugin-tanstack-start)|
0 commit comments