We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First of all, interesting project, thanks for sharing it.
Secondly, I was wondering how to build it on Windows.
In the README it is requested:
./build.sh
Maybe a Windows script should also be added?
I wrote this, but it should be tested:
# Stop on first error $ErrorActionPreference = "Stop" Write-Host "🧹 Cleaning dist directory..." if (Test-Path dist) { Remove-Item -Path dist -Recurse -Force } New-Item -ItemType Directory -Path dist Write-Host "📦 Compiling each TypeScript file to JavaScript..." npx tsc Write-Host "📝 Copying CSS files..." # Copy CSS files preserving directory structure Get-ChildItem -Path src -Filter *.css -Recurse | ForEach-Object { $targetPath = $_.FullName.Replace($PSScriptRoot + "\src\", $PSScriptRoot + "\dist\") $targetDir = Split-Path -Path $targetPath -Parent if (!(Test-Path $targetDir)) { New-Item -ItemType Directory -Path $targetDir -Force } Copy-Item $_.FullName -Destination $targetPath } Write-Host "📝 Copying JS files..." # Copy JS files preserving directory structure Get-ChildItem -Path src -Filter *.js -Recurse | ForEach-Object { $targetPath = $_.FullName.Replace($PSScriptRoot + "\src\", $PSScriptRoot + "\dist\") $targetDir = Split-Path -Path $targetPath -Parent if (!(Test-Path $targetDir)) { New-Item -ItemType Directory -Path $targetDir -Force } Copy-Item $_.FullName -Destination $targetPath } Write-Host "✅ Build complete! Individual .js and .css files are in the dist directory with original structure."
The text was updated successfully, but these errors were encountered:
I dont have access to windows. Will you be able to make a PR?
Sorry, something went wrong.
No branches or pull requests
First of all, interesting project, thanks for sharing it.
Secondly, I was wondering how to build it on Windows.
In the README it is requested:
Maybe a Windows script should also be added?
I wrote this, but it should be tested:
The text was updated successfully, but these errors were encountered: