Fix 'output:export' incorrect file copy in Windows build environment
Fix #85374 (Maybe...)
Go easy on me. that's because, This is my first PullRequest. (and English beginner 😢 )
Problem
output:export copy function, use only slash (/) as path characters.
But, Windows Environment use backslash(\). so This files is incorrectly copied, and Different 'out' directory content other platform(Linux/macOS).
| Linux(WSL) | Windows | Windows (Fixed) |
|---|---|---|
Also, Always fail (404) for next/link Prefetch in this problem for Windows Build Environment.
Solution
This PullRequest is replace '/' to path.sep in output:export dist copy function.
(Node.js Path module)
Thank you.
Allow CI Workflow Run
- [ ] approve CI run for commit: a3cb19919522ef25478c7d2fc10085475f1815bc
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer
Allow CI Workflow Run
- [ ] approve CI run for commit: 488a2a2e237ce36745db0fca390ffab996b70803
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer