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

Compiler option to download all/select remote resources #596

Open
Jand42 opened this issue Aug 25, 2016 · 2 comments
Open

Compiler option to download all/select remote resources #596

Jand42 opened this issue Aug 25, 2016 · 2 comments

Comments

@Jand42
Copy link
Member

Jand42 commented Aug 25, 2016

Then serve locally or bundle for offline use

@granicz granicz changed the title Compiler option to download all/select remote resorces Compiler option to download all/select remote resources Aug 25, 2016
Jand42 added a commit that referenced this issue May 23, 2017
@Jand42
Copy link
Member Author

Jand42 commented Jun 2, 2017

Currently implemented for sitelet projects. Set <WebSharperDownloadResources>True</WebSharperDownloadResources> in your project file to have WebSharper download all remote js/css defined in current project and all references. Add
<add key="UseDownloadedResources" value="True" /> to your <appSettings> section in web.config.

@Jand42
Copy link
Member Author

Jand42 commented Aug 25, 2017

There is a bug: actually the value False enabling the downloading, fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant