astro 0.25.0-next.3
Patch Changes
-
#2871
5029382aThanks @FredKSchott! - Fix a bug where tailwind integration wouldn't apply to markdown pages -
#2855
5e52814dThanks @matthewp! - Adds support for the Node adapter (SSR)This provides the first SSR adapter available using the
integrationsAPI. It is a Node.js adapter that can be used with thehttpmodule or any framework that wraps it, like Express.In your astro.config.mjs use:
import nodejs from '@astrojs/node'; export default { adapter: nodejs(), };After performing a build there will be a
dist/server/entry.mjsmodule that works like a middleware function. You can use with any framework that supports the Noderequestandresponseobjects. For example, with Express you can do:import express from 'express'; import { handler as ssrHandler } from '@astrojs/node'; const app = express(); app.use(handler); app.listen(8080); -
#2859
c781b12fThanks @natemoo-re! - Ensure private, internal APIs are not enumerable -
#2878
2db97f10Thanks @bholmesdev! - Move the built-inPrismcomponent fromastro/componentsto@astrojs/prism/component. -
#2857
1061d647Thanks @bholmesdev! - Improve granularity of production build logs. This now lists:- the "data collection" build step, with timeout warnings for larger imports. This is useful for understanding large
import.meta.globcalls. - the Vite client bundling step. This logs all Vite production build info to clarify what assets are built alongside your HTML.
- the route generation step, complete with all output HTML files for a given input file. This is especially useful when debugging
getStaticPaths. - fixes "0 pages in Infinityms" log when building to SSR
- the "data collection" build step, with timeout warnings for larger imports. This is useful for understanding large
-
#2873
e4025d1fThanks @matthewp! - Improves the build by building to a single file for rendering -
#2875
55712277Thanks @FredKSchott! - Generalize output assets to avoid adblocker false positives -
#2872
098f6f6bThanks @bholmesdev! - FixisSelfAcceptingerrors when using the Preact integration with the Astro dev server -
Updated dependencies [
2db97f10,d763ec18]:- @astrojs/prism@0.4.1-next.0
- @astrojs/markdown-remark@0.7.0-next.1