Closed ascorbic closed 3 months ago
Latest commit: b410221bb094010e19f3536e369bba4fdbdefb18
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Snapshots have been released for the following packages:
@astrojs/netlify@experimental--absolute-includes
π¦ warn ===============================IMPORTANT!===============================
π¦ warn Packages will be released under the experimental--absolute-includes tag
π¦ warn ----------------------------------------------------------------------
π¦ info npm info @astrojs/cloudflare
π¦ info npm info @astrojs/netlify
π¦ warn @astrojs/cloudflare is not being published because version 11.0.1 is already published on npm
π¦ info @astrojs/netlify is being published because our local version (0.0.0-absolute-includes-20240701095820) has not been published on npm
π¦ info Publishing "@astrojs/netlify" at "0.0.0-absolute-includes-20240701095820"
π¦ success packages published successfully:
π¦ @astrojs/netlify@0.0.0-absolute-includes-20240701095820
π¦ Creating git tag...
π¦ New tag: @astrojs/netlify@0.0.0-absolute-includes-20240701095820
Can confirm that it works now in my monorepo setup! Thanks for the quick fix.
Changes
The adapter adds an
included_files
option to the SSR function manifest to ensure that all traced files are included in the bundle. The path is currently relative to the root of the site, which breaks when in a monorepo. This PR changes the path to be absolute, which works everywhere. Using an absolute path is fine because bundling always happens on the same machine as the build.Fixes #309
Testing
Test deploy: https://66826aaccd6edbca0c286764--fascinating-belekoy-dfd085.netlify.app/
Docs