-
Notifications
You must be signed in to change notification settings - Fork 607
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] Support caching for specified files #5051
Comments
👋 Is rushstack/apps/api-extractor/config/heft.json Lines 17 to 29 in 4171584
|
Only allowing top-level folders was intentional. I'm trying to recall if there was a reason why we don't allow individual files. You could always emit that file to a folder and use |
Allowing individual files makes the cache logic far more complicated. With folders we can just nuke the entire folders in preparation for cache replay. |
Summary
The
outputFolderNames
field inrush-projects.json
can only specify directories but cannot specify file paths.My package project structure is as follows:
I hope to cache the dist and
index.js
, but i don't know how to configure index.js inrush-projects.json
Details
Perhaps we can add an
outputFileNames
field to therush-projects.json
file, or add a new field namedoutput
that supports both directories and files.Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rush
globally installed version?rushVersion
from rush.json?useWorkspaces
from rush.json?node -v
)?The text was updated successfully, but these errors were encountered: