This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose static asset dir to client.js
Summary: While testing publishing apps, it occurred to me that users of the default starter project need to rewrite the background path as well as the asset root if they change the static assets location. To avoid this, I'd like to rewrite the starter project to use this new method, which references the assetRoot set at init time. That allows there to be one point of configuration for all properly-referenced assets on both the runtime and the React sides. Reviewed By: mikearmstrong001 Differential Revision: D7822165 fbshipit-source-id: c16a55f5a82df4440fcbc893c4eb050fa86a280f
- Loading branch information