Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rush-serve-plugin] Allow serving single files #3669

Merged
merged 2 commits into from
Oct 4, 2022

Conversation

dmichon-msft
Copy link
Contributor

Summary

Extends rush-project-serve.json configuration to allow serving a specific file, not just entire directories.

Details

Use the projectRelativeFile field instead of projectRelativeFolder to serve a file instead of a directory. A primary use case is to configure some entry point page to be served from / (root).

How it was tested

Used a local repository and configured a file to be served from root.

@iclanton iclanton merged commit 4f0ce88 into microsoft:main Oct 4, 2022
@dmichon-msft dmichon-msft deleted the serve-file branch October 6, 2022 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants