fastify-vite

Fastify plugin for Vite integration.

MIT License

Downloads
14.7K
Stars
797
Committers
38

Bot releases are visible (Hide)

fastify-vite - @fastify/[email protected]

Published by galvez 11 months ago

fastify-vite - @fastify/[email protected]

Published by galvez 11 months ago

This is a critical patch for the v5 release line.

It includes a missing file from the bundle, the @fastify/vite/utils export.

This bug was only identified testing the starter templates outside the pnpm workspace environment.

fastify-vite - @fastify/[email protected]

Published by galvez 11 months ago

@fastify/react has been migrated from fastify-dx and is fully updated to the latest release @fastify/vite and Vite v5.

Read all about it in this blog post and check out the new documentation suite.

fastify-vite - @fastify/[email protected]

Published by galvez 11 months ago

@fastify/vue has been migrated from fastify-dx and is fully updated to the latest release @fastify/vite and Vite v5.

Read all about it in this blog post and check out the new documentation suite.

fastify-vite - @fastify/[email protected]

Published by galvez 11 months ago

This is a patch for the v5 release line including:

  • An additional fix to stop usinv Vite's CJS build.
  • The ability to use strings to determine a package for the renderer option.
  • A brand new documentation suite!
fastify-vite - v5.0.2

Published by galvez 11 months ago

This is a patch for the v5 release line including:

All examples have been updated to run on Vite v5.

fastify-vite - v5.0.1

Published by galvez 11 months ago

fastify-vite - v5.0.0

Published by galvez 12 months ago

A major new release was warranted since there was an unavoidable breaking change:

The createHtmlTemplateFunction() helper is now exported from @fastify/vite/utils — this was required because Fastify started throwing an error with the default export from @fastify/vite being a function with extra properties.

This release also updates all examples/ dependencies now using all latest versions of React, Vue, Svelte and Solid.

fastify-vite - v4.0.2

Published by galvez 12 months ago

This is a patch for the v4 release line including:

fastify-vite - v4.0.1

Published by galvez 12 months ago

fastify-vite - v4.0.0

Published by galvez over 1 year ago

This new release was bumped directly from 3.0.8 because it introduces a couple of key changes:

  • Vite v4 is now supported and the preferred Vite version — Vite v3 can still be used if you ignore the peerDependencies rule.
  • The old way of developing was deprecated in favor of pnpm and its workspaces.

Fixes

Maintainability

Dependencies

fastify-vite - v3.0.8

Published by galvez over 1 year ago

fastify-vite - v3.0.7

Published by galvez over 1 year ago

fastify-vite - v3.0.6

Published by galvez over 1 year ago

fastify-vite - v3.0.4

Published by galvez almost 2 years ago

Features

Thanks to James Kirkpatrick for his contribution!

This release essentially makes vite build (without a custom --outDir setting) work when SPA mode is enabled, because only one build is required, the client one. When spa: true, it will search for the bundle in dist, the default value for Vite's build.outDir setting.

fastify-vite - v3.0.3

Published by galvez almost 2 years ago

fastify-vite - v3.0.2

Published by galvez almost 2 years ago

fastify-vite - v3.0.1

Published by galvez almost 2 years ago

fastify-vite - v3.0.0

Published by galvez almost 2 years ago

This is the final v3 release, now published as @fastify/vite on npm.

Now an official core Fastify plugin!

This release brings support for Fastify v4 and Vite v3 — and eliminates the need to use an extra plugin on vite.config.js, the exception being the svelte-hydration example, which for some reasons defaults to CJS in the server build and needs a fix.

The fix is provided as the enforceESMBuild plugin, exported from @fastify/vite, used only in that example.

The plugin is now also covered by an extensive test suite for all examples and the package itself.