Skip to content

Conversation

@fisker
Copy link
Member

@fisker fisker commented Jun 2, 2025

Description

Fixes #17488

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 2, 2025

Open in StackBlitz

yarn add https://pkg.pr.new/prettier/prettier/@prettier/plugin-hermes@17548.tgz
yarn add https://pkg.pr.new/prettier/prettier/@prettier/plugin-oxc@17548.tgz
yarn add https://pkg.pr.new/prettier/prettier@17548.tgz

commit: cae8a65

* not an object. A transformation from this array to an object is automatically done
* internally by the method wrapper. See withPlugins() in index.js.
* not an object.
*/
Copy link
Member Author

@fisker fisker Jun 2, 2025

Choose a reason for hiding this comment

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

The original comment is incorrect, withPlugins doesn't support object type of plugins, only standalone version does, but getFileInfo is not supported in standalone version.

@netlify
Copy link

netlify bot commented Jun 2, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit bf1b934
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/683dd9e0d0ad9a0008f8ebae
😎 Deploy Preview https://deploy-preview-17548--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jun 2, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit cae8a65
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/683df5ed01823800085a11cc
😎 Deploy Preview https://deploy-preview-17548--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@fisker fisker force-pushed the get-file-info-plugin branch from 2ca4746 to 6ee3cd8 Compare June 2, 2025 17:27
@fisker fisker marked this pull request as ready for review June 2, 2025 17:27
@fisker fisker added this to the 3.6 milestone Jun 2, 2025
@fisker fisker requested a review from sosukesuzuki June 2, 2025 17:28
@fisker fisker merged commit d494443 into prettier:main Jun 5, 2025
33 checks passed
@fisker fisker deleted the get-file-info-plugin branch June 5, 2025 09:10
@fisker fisker mentioned this pull request Oct 15, 2025
4 tasks
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.

prettier.getFileInfo() doesn't load plugin

2 participants