Repository: next.js
Issue: Unnormalized path in require from build output when building in Windows OS (using app router and standalone output)
Labels: Upstream,bug,Output (export/standalone)

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/zen-haze-ljzxzc

### To Reproduce

1. In WINDOWS
2. Start build
3. After build, read `/.next/standalone/.next/server/app/page.js`
4. Notice the build process yield path which is not OK when ran in UNIX system.

Here is the output when build in Windows:
```js
"use strict";(()=>{var e={};e.id=931,e.ids=[931],e.modules={55403:e=>{e.exports=require("next/dist/client/components/request-async-storage.external")},94749:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},25528:e=>{e.exports=require("next/dist\\client\\components\\action-async-storage.external.js")},91877:e=>{e.exports=require("next/dist\\client\\components\\request-async-storage.external.js")},25319:e=>{e.exports=require("next/dist\\client\\components\\static-generation-async-storage.external.js")},39740:(e,t,r)=>{r.r(t),r.d(t,{GlobalError:()=>s.a,__next_app__:()=>x,originalPathname:()=>d,pages:()=>c,routeModule:()=>u,tree:()=>p});var n=r(67096),a=r(16132),o=r(37284),s=r.n(o),i=r(32564),l={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>i[e]);r.d(t,l);let p=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,86107)),"D:\\Projects\\zen-haze-ljzxzc\\app\\page.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,35345)),"D:\\Projects\\zen-haze-ljzxzc\\app\\layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,9291,23)),"next/dist/client/components/not-found-error"]}],c=["D:\\Projects\\zen-haze-ljzxzc\\app\\page.tsx"],d="/page",x={require:r,loadChunk:()=>Promise.resolve()},u=new n.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:p}})},86107:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Home});var n=r(4656),a=r(95153);let o=(0,a.createProxy)(String.raw`D:\Projects\zen-haze-ljzxzc\node_modules\@mantine\core\esm\components\Stack\Stack.mjs`),{__esModule:s,$$typeof:i}=o;o.default;let l=o.Stack;function Home(){return n.jsx(l,{children:"Testing"})}}};var t=require("../webpack-runtime.js");t.C(e);var __webpack_exec__=e=>t(t.s=e),r=t.X(0,[399,764],()=>__webpack_exec__(39740));module.exports=r})();
```

Compared to build in linux:
```js
"use strict";(()=>{var e={};e.id=931,e.ids=[931],e.modules={72934:e=>{e.exports=require("next/dist/client/components/action-async-storage.external.js")},55403:e=>{e.exports=require("next/dist/client/components/request-async-storage.external")},54580:e=>{e.exports=require("next/dist/client/components/request-async-storage.external.js")},94749:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external")},45869:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},80812:(e,t,r)=>{r.r(t),r.d(t,{GlobalError:()=>s.a,__next_app__:()=>u,originalPathname:()=>d,pages:()=>l,routeModule:()=>m,tree:()=>c});var a=r(67096),n=r(16132),o=r(37284),s=r.n(o),i=r(32564),p={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>i[e]);r.d(t,p);let c=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,86107)),"/project/home/aiman.fauzy.55/workspace/app/page.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,35345)),"/project/home/aiman.fauzy.55/workspace/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,9291,23)),"next/dist/client/components/not-found-error"]}],l=["/project/home/aiman.fauzy.55/workspace/app/page.tsx"],d="/page",u={require:r,loadChunk:()=>Promise.resolve()},m=new a.AppPageRouteModule({definition:{kind:n.x.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},86107:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Home});var a=r(4656),n=r(95153);let o=(0,n.createProxy)(String.raw`/project/home/aiman.fauzy.55/workspace/node_modules/@mantine/core/esm/components/Stack/Stack.mjs`),{__esModule:s,$$typeof:i}=o;o.default;let p=o.Stack;function Home(){return a.jsx(p,{children:"Testing"})}}};var t=require("../webpack-runtime.js");t.C(e);var __webpack_exec__=e=>t(t.s=e),r=t.X(0,[399,257],()=>__webpack_exec__(80812));module.exports=r})();
```

Mixed slashes in Windows output:
```js
e.exports=require("next/dist\\client\\components\\action-async-storage.external.js")
```

Path OK in linux output:
```js
e.exports=require("next/dist/client/components/action-async-storage.external.js")
```

### Current vs. Expected behavior

Despite being build in Windows, should not the output also be usable in UNIX system? This inconsistency in build yield force end-user to build in target OS, or is this intentional by design?

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Home Single Language
Binaries:
  Node: 20.3.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 13.5.5-canary.7
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: standalone
```


### Which area(s) are affected? (Select all that apply)

App Router, Operating System (Windows, MacOS, Linux), Standalone mode (output: "standalone")

### Additional context

_No response_