Skip to content

build: remove outdated CSS files when building - #129

Merged
moodyjmz merged 4 commits into
mainfrom
build/vite-config
Aug 24, 2026
Merged

build: remove outdated CSS files when building#129
moodyjmz merged 4 commits into
mainfrom
build/vite-config

Conversation

@susnux

@susnux susnux commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

馃 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

@moodyjmz moodyjmz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed: 3-line vite.config.ts change, verified emptyOutputDirectory.additionalDirectories is a real @nextcloud/vite-config option that doesn't disable the existing js/ emptying and doesn't race with the CSS-entrypoint/license plugins. css/ holds only build output so wholesale deletion is safe. The failing NPM build/node checks are the expected self-announcing 'stale build output' gate (needs /compile after merge, same as #110). Filed #132 for a related pre-commit hook gap (doesn't flag deleted js/css, newly reachable after this change) as a non-blocking follow-up.

@moodyjmz

Copy link
Copy Markdown
Contributor

/compile

nextcloud-command and others added 2 commits August 24, 2026 19:59
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>

# Conflicts:
#	css/main-CxcBSS6q.chunk.css
@moodyjmz

Copy link
Copy Markdown
Contributor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@moodyjmz
moodyjmz merged commit 4f8e414 into main Aug 24, 2026
25 checks passed
@moodyjmz
moodyjmz deleted the build/vite-config branch August 24, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants