fix(assets): Missing styles in Cloudflare + MDX#15696
Conversation
🦋 Changeset detectedLatest commit: f3dc8a5 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 |
|
Needs a changeset |
| outDir: fileURLToPath(serverDir), | ||
| }, | ||
| root: fileURLToPath(root), | ||
| logLevel: 'error', |
There was a problem hiding this comment.
The prerenderer server is extremely spammy during the build, it didn't feel intentional?
|
Hi! Could this bug also be present in the Markdoc + Astro component? When using UnoCSS inside a Markdoc component, I found that styles added using classlist are applied correctly, but those inside the '<style is:global>' tag are not. I have tried to create a minimal reproducible example, but haven't succeeded yet. I'll post an update if I manage to do so. By the way, this is only present in |
Changes
Images and styles in content in Cloudflare in MDX did not work correctly, the
vite-plugin-content-assetsplugin just would never run because it'd instantly fail at the beginning, the error would happens inside workerd, so it didn't crash the build but you'd just get a thousand errors during the build, and in dev the file just was wrong.Fixes #15681 (comment)
Testing
Added a test
Docs
N/A