-
Notifications
You must be signed in to change notification settings - Fork 81
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
build filters files outside the root #103
Conversation
Co-authored-by: Mike Bostock <mbostock@gmail.com>
The new build tests helped me see that in the case of data loaders, isLocalFile is not enough. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if you removed the canReadSync test out of isLocalFile? And instead, we handle that case specially in build. Then you wouldn’t need the Loader.find, and we could add some error logging for missing files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it so that FileAttachment with a non-local path is now a syntax error, so that we get a better error when a bad path is used.
reverts part of #89
fixes #99
todo: