You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
outputs[*].inputs[].path values appear to include invalid directory segments when shared chunks are produced by nested paths.
Reproduction
The following is a mini example that reproduces what I'm observing. It has a single entrypoint, with two chunks dynamically imported. The two lazy chunks and the main entrypoint all share a dependency on ./shared.js.
The issue can be observed in the following screenshot. Note that two output chunks refer to the same filename (chunk.3D7RKSRB.js), however at different locations. You can also see in the file tree that this chunk is only at the root of the build folder and is not duplicated in the build/pages folder.
The text was updated successfully, but these errors were encountered:
Description
outputs[*].inputs[].path
values appear to include invalid directory segments when shared chunks are produced by nested paths.Reproduction
The following is a mini example that reproduces what I'm observing. It has a single entrypoint, with two chunks dynamically imported. The two lazy chunks and the main entrypoint all share a dependency on
./shared.js
../index.js
./shared.js:
./pages/about.js:
./pages/home.js:
The issue can be observed in the following screenshot. Note that two output chunks refer to the same filename (
chunk.3D7RKSRB.js
), however at different locations. You can also see in the file tree that this chunk is only at the root of thebuild
folder and is not duplicated in thebuild/pages
folder.The text was updated successfully, but these errors were encountered: