-
-
Notifications
You must be signed in to change notification settings - Fork 656
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
feat: add support for cdnPrefix for static assets #1191
Conversation
note this feature is experimental.
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/unleash-team/unleash-docs/DJVUK6fmXmX62bSNathUhPUTBpii |
Coverage reportTotal coverage
Show new covered files 🌑Coverage of new files
Show files with reduced coverage 🔻Reduced coverage
Report generated by 🧪jest coverage report action from b70cfa0 |
1bccbbe
to
e2cc052
Compare
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.
Very cool. LGTM.
Allows you to specify a cdnPrefix for static resource.
When specified CSS and JavaScript is loaded directly from CDN, like this:
Also replaces a meta tag in the index.html with the cdnPrefix, which may be utilized by the frontend code to use CDN prefix for dynamic static assets, such as images.