saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.14k stars 1.3k forks source link

Windows compatibility 2 #3165

Open TheBrenny opened 3 months ago

TheBrenny commented 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.

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!

vercel[bot] commented 3 months ago

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

A member of the Team first needs to authorize it.