Build does not generate relative file paths
RichieRunner opened this issue · comments
When using this package with CRA build command: react-scripts -r @cypress/instrument-cra build"
, the result build files are not correctly generated with relative file paths
On the left is the instrumented build of asset-manifest.json
with this package, and on the right is the vanilla CRA build. You can see that static files generated with this package does NOT include the ./
relative path to the static files.
As such, on page load of the index.html
, static files are never found:
As such, it should be noted that this package should NOT be used with CRA build
command (in its current state), but only for CRA start
command.