React-static: Is it possible to build without bundling the main JS assets?

Created on 28 Feb 2018  路  3Comments  路  Source: react-static/react-static

We are using react-static to build several sites. The main and vendor JS files won't change between sites, but the HTML and react props will.

Is there a way to bundle the JS assets on the first site build then use those files on all subsequent builds?

Most helpful comment

All 3 comments

Currently that is not possible, but that is a very interesting use-case I will consider for the next major version.

Being able to reuse a bundle also means we could render single routes at a time or a subset of routes.. Which is beneficial to me :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

empz picture empz  路  3Comments

bkniffler picture bkniffler  路  3Comments

achenwei-chwy picture achenwei-chwy  路  3Comments

josephdburdick picture josephdburdick  路  4Comments

pbgms picture pbgms  路  3Comments