Preact-cli: Disable ssr prerender ? Just build spa app ?

Created on 21 Aug 2017  路  2Comments  路  Source: preactjs/preact-cli

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 ?

Most helpful comment

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

All 2 comments

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

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

Was this page helpful?
0 / 5 - 0 ratings