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
-Grab a project with a vite.config.js.
-Build in Windows with buildDirectory: 'build/test' then with buildDirectory: 'build\\test'.
-Both builds at "build/server/assets/server-build-[hash].js" will have the same "assetsBuildDirectory" apth which works only in Windows.
-I would expect the "assetsBuildDirectory" to have "/" like all other lines, instead the file includes:
I would expect the builder to keep be buildDirectory: 'build/test', which works both in Windows and Linux.
Actual Behavior
The line is buildDirectory: 'build\\test' when built in Windows, and buildDirectory: 'build/test' (correct) in Linux. The latter one works in Windows and Linux.
The text was updated successfully, but these errors were encountered:
Reproduction
-Grab a project with a vite.config.js.
-Build in Windows with
buildDirectory: 'build/test'
then withbuildDirectory: 'build\\test'
.-Both builds at "build/server/assets/server-build-[hash].js" will have the same "assetsBuildDirectory" apth which works only in Windows.
-I would expect the "assetsBuildDirectory" to have "/" like all other lines, instead the file includes:
System Info
Used Package Manager
npm
Expected Behavior
I would expect the builder to keep be
buildDirectory: 'build/test'
, which works both in Windows and Linux.Actual Behavior
The line is
buildDirectory: 'build\\test'
when built in Windows, andbuildDirectory: 'build/test'
(correct) in Linux. The latter one works in Windows and Linux.The text was updated successfully, but these errors were encountered: