Open TheBrenny opened 3 months ago
Following from #3164, this is an update to the build script which now uses PowerShell.
There's also some minor refactoring done for some of the runCommand calls to remove the erroneous {stdio: []} objects.
runCommand
{stdio: []}
Line 51 had to be broken up into two because Powershell kept reading the curly braces as a script block.
The changes to package.json make the switching between dev and prod platform agnostic by using NodeJS instead.
package.json
My builds also weren't working until I updated the vite config (windows read /src/components/ as C:\src\components\), hence the change there.
/src/components/
C:\src\components\
Thanks for the heads up on using PowerShell! My world has low-key been opened up!
@TheBrenny is attempting to deploy a commit to the Pouya Team on Vercel.
A member of the Team first needs to authorize it.
Following from #3164, this is an update to the build script which now uses PowerShell.
There's also some minor refactoring done for some of the
runCommand
calls to remove the erroneous{stdio: []}
objects.Line 51 had to be broken up into two because Powershell kept reading the curly braces as a script block.
The changes to
package.json
make the switching between dev and prod platform agnostic by using NodeJS instead.My builds also weren't working until I updated the vite config (windows read
/src/components/
asC:\src\components\
), hence the change there.Thanks for the heads up on using PowerShell! My world has low-key been opened up!