diff --git a/frontend/package.json b/frontend/package.json index 915d52e..f974384 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -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": { diff --git a/scripts/windows/frontend_build.ps1 b/scripts/windows/frontend_build.ps1 index bb7f4da..148c704 100644 --- a/scripts/windows/frontend_build.ps1 +++ b/scripts/windows/frontend_build.ps1 @@ -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"