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

Add static option to build time render config #280

Closed
matt-gadd opened this issue May 28, 2019 · 1 comment
Closed

Add static option to build time render config #280

matt-gadd opened this issue May 28, 2019 · 1 comment
Labels
enhancement next Issue/Pull Request for the next major version

Comments

@matt-gadd
Copy link
Contributor

matt-gadd commented May 28, 2019

Enhancement

Now we have build time render and blocks, it's possible to build an entire static site that doesn't depend on either JS or CSS (the critical CSS is inlined into the html).

In the future it would be cool if we could detect whether individual pages can be purely static during build time rendering (via whatever heuristics).

For now having a single .dojorc option of static or similar (and/or per path?) in the build-time-render options to disable JS and CSS for all pages would be a good start.

@matt-gadd matt-gadd added enhancement next Issue/Pull Request for the next major version labels May 28, 2019
@agubler
Copy link
Member

agubler commented Jun 11, 2019

Resolved by dojo/webpack-contrib#162

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement next Issue/Pull Request for the next major version
Projects
None yet
Development

No branches or pull requests

2 participants