From ecee6a0e52429be07d84d4ffac0be585c2f89614 Mon Sep 17 00:00:00 2001 From: fisker Date: Sat, 22 Feb 2025 12:15:17 +0800 Subject: [PATCH] Clean changelog_unreleased --- changelog_unreleased/misc/17156.md | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 changelog_unreleased/misc/17156.md diff --git a/changelog_unreleased/misc/17156.md b/changelog_unreleased/misc/17156.md deleted file mode 100644 index 3fa33a673..000000000 --- a/changelog_unreleased/misc/17156.md +++ /dev/null @@ -1,3 +0,0 @@ -#### Remove `module-sync` condition (#17156 by @fisker) - -In Prettier 3.5.0, [we added `module-sync` condition to `package.json`](https://prettier.io/blog/2025/02/09/3.5.0#use-esm-entrypoint-for-requireesm-16958-by-tats-u), so that `require("prettier")` can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove the `module-sync` condition, so `require("prettier")` will still use the CommonJS version, we'll revisit until `require(ESM)` feature is more stable.