Skip to content

@astrojs/vite-plugin-astro@0.1.0

Choose a tag to compare

@astrobot-houston astrobot-houston released this 10 Nov 18:33
· 9 commits to main since this release
ad5450d

Minor Changes

  • #18610 5083c65 Thanks @matthewp! - Initial release

  • #18611 f98e8a8 Thanks @matthewp! - Adds standalone rendering: astro() compiles .astro files in a plain Vite project, and renderToString() / renderToResponse() from @astrojs/runtime render a component tree with its stylesheets, scripts and framework islands in dev and in builds

  • #18611 f98e8a8 Thanks @matthewp! - Adds declarative renderer fields: an AstroRenderer can carry options (passed to its server entrypoint as this.options), optimizeDeps, dedupe, noExternal (a list, or a function of the project root for lists found by crawling dependencies), a dev-only devHeadScript and an appEntrypoint that its entrypoints import, which astro() applies, so a renderer is plain data next to the framework's own Vite plugin

Patch Changes