Skip to content

perf: optimize prettier build size#462

Merged
DylanPiercey merged 1 commit intomainfrom
optimize-prettier-build
Feb 6, 2026
Merged

perf: optimize prettier build size#462
DylanPiercey merged 1 commit intomainfrom
optimize-prettier-build

Conversation

@DylanPiercey
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2026

🦋 Changeset detected

Latest commit: 312c526

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
marko-vscode Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@DylanPiercey DylanPiercey merged commit 957bef1 into main Feb 6, 2026
5 checks passed
@DylanPiercey DylanPiercey deleted the optimize-prettier-build branch February 6, 2026 04:47
@coderabbitai
Copy link

coderabbitai bot commented Feb 6, 2026

Walkthrough

A new changeset entry documents a patch release for the marko-vscode package with the description "Optimize prettier build". The build configuration in packages/vscode/build.mts has been updated with a new esbuild plugin named "prettier-optimize". This plugin uses onLoad for files under the /prettier/plugins/ directory and returns empty JavaScript modules for paths that do not end with babel, estree, postcss, or typescript (with optional .js or .mjs extensions).

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive No pull request description was provided by the author, making it impossible to evaluate whether the description relates to the changeset. Add a pull request description explaining the purpose of the prettier build optimization, the plugin mechanism used, and any expected benefits or trade-offs.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'perf: optimize prettier build size' clearly and specifically describes the main change: optimizing the prettier build size through the new esbuild plugin that skips loading unnecessary prettier plugin files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch optimize-prettier-build

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot mentioned this pull request Feb 6, 2026
@github-project-automation github-project-automation bot moved this to Done in Roadmap Feb 27, 2026
@DylanPiercey DylanPiercey self-assigned this Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant