daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

Windows compatibility 2

Open TheBrenny opened this issue 1 year ago โ€ข 1 comments

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/ as C:\src\components\), hence the change there.

Thanks for the heads up on using PowerShell! My world has low-key been opened up!

TheBrenny avatar Aug 10 '24 11:08 TheBrenny

@TheBrenny is attempting to deploy a commit to the Pouya Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 10 '24 11:08 vercel[bot]

Thanks for the PR.
The build steps and project structure is changed in v5. This workaround won't be needed anymore ๐Ÿ’š

saadeghi avatar Feb 28 '25 23:02 saadeghi