-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething isn't workingSomething isn't workingp3-edge-caseSvelteKit cannot be used in an uncommon waySvelteKit cannot be used in an uncommon way
Milestone
Description
Describe the bug
If two pages are prerendered, and both pages request the same file, that file will be written to the output directory twice. If building with svelte-kit build --verbose, it will be logged twice.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-ypvoq7
Logs
No response
System Info
System:
OS: macOS 12.0.1
CPU: (10) arm64 Apple M1 Max
Memory: 78.02 MB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
Browsers:
Chrome: 98.0.4758.80
Firefox: 96.0.3
Safari: 15.1
npmPackages:
@sveltejs/adapter-auto: workspace:* => 1.0.0-next.18
@sveltejs/kit: workspace:* => 1.0.0-next.260
@sveltejs/site-kit: ^2.0.2 => 2.0.2
svelte: ^3.43.0 => 3.44.2Severity
annoyance
Additional Information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingp3-edge-caseSvelteKit cannot be used in an uncommon waySvelteKit cannot be used in an uncommon way