fix: sass-embedded@1.98.0 在 macOS 13 会直接崩#7692
Conversation
|
📝 WalkthroughWalkthroughThe PR updates configuration file references from TypeScript ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use TruffleHog to scan for secrets in your code with verification capabilities.Add a TruffleHog config file (e.g. trufflehog-config.yml, trufflehog.yml) to your project to customize detectors and scanning behavior. The tool runs only when a config file is present. |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
internal/vite-config/src/config/application.ts (1)
1-16: Remove unusedsass-embeddedfrom devDependencies.The
sass-embeddedpackage is declared ininternal/vite-config/package.jsonbut is not used anywhere in the codebase. The code imports fromsassinstead. Removing this unused dependency will reduce clutter and avoid confusion.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@internal/vite-config/src/config/application.ts` around lines 1 - 16, The devDependency "sass-embedded" is unused—your code imports from "sass" (and uses NodePackageImporter) so remove "sass-embedded" from internal/vite-config's package.json devDependencies, run a quick grep for "sass-embedded" to ensure nothing else references it, and update lockfile (run npm/yarn/pnpm install) so the dependency is fully removed from the repo and CI.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@internal/vite-config/src/config/application.ts`:
- Around line 1-16: The devDependency "sass-embedded" is unused—your code
imports from "sass" (and uses NodePackageImporter) so remove "sass-embedded"
from internal/vite-config's package.json devDependencies, run a quick grep for
"sass-embedded" to ensure nothing else references it, and update lockfile (run
npm/yarn/pnpm install) so the dependency is fully removed from the repo and CI.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: f2fbce9a-bfd2-4674-b329-220a39ed3c11
📒 Files selected for processing (8)
docs/src/en/guide/project/dir.mddocs/src/en/guide/project/standard.mddocs/src/guide/project/dir.mddocs/src/guide/project/standard.mdinternal/vite-config/src/config/application.tsoxfmt.config.mjsoxlint.config.mjsvben-admin.code-workspace
|
What? I thought formatter uses single quote instead of double qoute |
This reverts commit b908076.
|
这个 PR 和标题似乎没有什么关系?更可能与 node 版本有关?#7663 |
This reverts commit b908076.
sry,I submitted a rollback. |
|
sry,I submitted a rollback. |
核心代码变更只是: 另外,macOS 13 (Ventura) 已停止维护,多个软件都已不再适配,我想最具代表性的是 Homebrew. |
|
|
Why it is merged? This should be reverted? Edit |
The merge was made because Premiere Pro did indeed resolve the conflict between Sass and macOS 13. The rollback was due to the formatting issue it caused, and I had already upgraded my macOS to version 15 or later. |
sass-embedded不兼容mac14以下版本,sass-embedded前一个版本支持。sass-embedded另外一个编译语言执行编译css样式会比sass用node编译更快 |


sass-embedded@1.98.0 在 macOS 13 会直接崩
Summary by CodeRabbit
Documentation
Style