Skip to content

Commit

Permalink
Change powershell script to changes made at upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
minhnhatnoe committed May 17, 2023
1 parent b12d5e3 commit eea1ae5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"scripts": {
"test": "echo No tests... yet",
"fmt": "prettier \"css/**/*\" \"ts/**/*\" \"*.json\" \"*.js\"",
"dev": "parcel watch -d ../embed/templates \"html/**/*.html\"",
"build": "mkdir -p ../embed/templates && rm -rf ../embed/templates/* && parcel build --no-source-maps -d ../embed/templates \"html/**/*.html\"",
"dev": "parcel watch \"html/**/*.html\"",
"build": "mkdir -p ../embed/templates && rm -rf ../embed/templates/* && parcel build --no-source-maps --no-cache \"html/**/*.html\"",
"build:windows": "pwsh --command ../scripts/windows/frontend_build.ps1"
},
"alias": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/windows/frontend_build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ $ErrorActionPreference = "Stop"

New-Item -Type Directory -Force ../embed/templates | Out-Null
Remove-Item -Recurse -Force ../embed/templates/*
parcel build --no-source-maps -d ../embed/templates "html/**/*.html"
parcel build --no-source-maps --no-cache "html/**/*.html"

0 comments on commit eea1ae5

Please sign in to comment.