Repository navigation
Fail the build when a public-path reference survives the rewrite - #24
Merged
Merged
Conversation
A stylesheet reference the rewrite does not recognise would 404 on a static host with no signal, so the script now exits non-zero instead of reporting success. The directory walk uses the string form of recursive readdir, which already yields paths relative to build/. The server test checks that a prefixed stylesheet is served as CSS with the immutable cache policy, not just that its body is unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
|
Lightcone previews: Paper · Playground — inventory, viewers, dialogs and glyphs d53388a · @astra-spec/ui 0.0.6 from 6248ae0 · Lightcone brand 0.0.3 · astra-theme d53388a · content 3735fcc · MySTRA https://github.com/LightconeResearch/MySTRA/releases/download/v0.0.8/mystra.mjs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A stylesheet reference the rewrite does not recognise would 404 on a static host with no signal, so the script now exits non-zero instead of reporting success. The directory walk uses the string form of recursive readdir, which already yields paths relative to build/. The server test checks that a prefixed stylesheet is served as CSS with the immutable cache policy, not just that its body is unchanged.