Final HTML got saved as-is, while it might contain some data usable only by puppeteer.
<html>
<head>
<script src="main.3f3e7a70.js" defer></script>
<!-- react-snap would inject chunks script here -->
<!-- links would be broken for localhost, but valuable for real server -->
<!-- in any case hydration will took a place only after all data loaded -->
<script src="http://localhost:45678/splitted-1.a34dceb3.js" async charset="utf-8" type="text/javascript"></script>
<script src="http://localhost:45678/splitted-2.3981cca3.js" async charset="utf-8" type="text/javascript"></script>
<script src="http://localhost:45678/splitted-3.06956975.js" async charset="utf-8" type="text/javascript"></script>
</head>
Bug Report
Final HTML got saved as-is, while it might contain some data usable only by puppeteer.
Reproducible demo
https://github.com/theKashey/react-imported-component/tree/master/examples/hybrid/react-snap
Expected behavior/code all "broken this way" resources shall be removed, or url should be "cleaned"
Possible Solution
I've tried
removeScripts
option, but it leads to a runtime error.