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

Disable ssr prerender ? Just build spa app ? #332

Closed
cuduy197 opened this issue Aug 21, 2017 · 2 comments
Closed

Disable ssr prerender ? Just build spa app ? #332

cuduy197 opened this issue Aug 21, 2017 · 2 comments

Comments

@cuduy197
Copy link

Note: The code generator has deoptimised the styling of "E:/preact/hello/build/ssr-build/ssr-bundle.js" as it exceeds the max of "500KB"?

How to disable prerender when build ?

@reznord
Copy link
Member

reznord commented Aug 21, 2017

npm run build -- --prerender false should do the work.

@reznord reznord closed this as completed Aug 22, 2017
@terencechow
Copy link

For future users arriving here since its number 1 result from google: flag is now --no-prerender

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

3 participants