Skip to content

build: clean third_party build only#445

Closed
OrKoN wants to merge 1 commit intomainfrom
orkon/clean3p
Closed

build: clean third_party build only#445
OrKoN wants to merge 1 commit intomainfrom
orkon/clean3p

Conversation

@OrKoN
Copy link
Copy Markdown
Collaborator

@OrKoN OrKoN commented Oct 21, 2025

No description provided.

Comment thread package.json
"clean": "node -e \"require('fs').rmSync('build', {recursive: true, force: true})\"",
"build": "npm run clean && tsc && node --experimental-strip-types --no-warnings=ExperimentalWarning scripts/post-build.ts && rollup -c rollup.config.mjs",
"clean": "node -e \"require('fs').rmSync('build/src/third_party', {recursive: true, force: true})\"",
"clean:3p": "node -e \"require('fs').rmSync('build', {recursive: true, force: true})\"",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this is flipped.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

right, that's why it "worked". Actually it does not work... tsc does not seem to check the state of the output and only relies on the tsbuildinfo so this will not work.

@OrKoN OrKoN closed this Oct 21, 2025
@Lightning00Blade Lightning00Blade deleted the orkon/clean3p branch November 13, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants