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

Option to pull assets from a CDN #78

Closed
adamgruber opened this issue Dec 21, 2017 · 1 comment
Closed

Option to pull assets from a CDN #78

adamgruber opened this issue Dec 21, 2017 · 1 comment

Comments

@adamgruber
Copy link
Owner

Currently mochawesome supports inline and external assets. External assets are copied into an assets/ folder in the directory where the report is generated. Copying these assets adds overhead. In the case where generating multiple reports into different locations, this overhead may be considered undesirable. Inlining the assets would solve the issue but also bloat the report filesize.

If the assets were requested via CDN like unpkg.com then the overhead would be eliminated. I propose adding this as an option.

Obvious note: Serving the assets via CDN requires an internet connection when viewing the report.

@adamgruber adamgruber mentioned this issue Dec 28, 2017
@adamgruber
Copy link
Owner Author

Available in 3.1.0

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

No branches or pull requests

1 participant