Skip to content

fix: replace node-sass with sass for macOS compatibility#64

Open
ZHOUcourier wants to merge 1 commit into
sumimakito:masterfrom
ZHOUcourier:fix/mac-compatibility
Open

fix: replace node-sass with sass for macOS compatibility#64
ZHOUcourier wants to merge 1 commit into
sumimakito:masterfrom
ZHOUcourier:fix/mac-compatibility

Conversation

@ZHOUcourier

Copy link
Copy Markdown
  • Replace deprecated node-sass with modern sass (Dart Sass)
  • Update build scripts to use sass CLI syntax
  • Bump version to 1.1.1

node-sass is no longer maintained and fails to compile on:

  • macOS with Apple Silicon (ARM64)
  • Node.js v14 and above
  • Modern build environments

sass (Dart Sass) is the official replacement:

  • Pure JavaScript (no native compilation)
  • Cross-platform compatible
  • Actively maintained by Sass team
  • Works with all Node.js versions

Tested on: macOS 15.2, Node.js v24.6.0, Apple Silicon

- Replace deprecated node-sass with modern sass (Dart Sass)
- Update build scripts to use sass CLI syntax
- Bump version to 1.1.1

node-sass is no longer maintained and fails to compile on:
- macOS with Apple Silicon (ARM64)
- Node.js v14 and above
- Modern build environments

sass (Dart Sass) is the official replacement:
- Pure JavaScript (no native compilation)
- Cross-platform compatible
- Actively maintained by Sass team
- Works with all Node.js versions

Tested on: macOS 15.2, Node.js v24.6.0, Apple Silicon
Copilot AI review requested due to automatic review settings February 2, 2026 06:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the SCSS compilation tooling by replacing the deprecated node-sass package with the official Dart Sass implementation. The migration addresses compatibility issues with modern development environments including macOS Apple Silicon, Node.js v14+, and eliminates native compilation dependencies.

Changes:

  • Replaced node-sass ^8.0.0 dependency with sass ^1.77.0 (Dart Sass)
  • Updated build and watch scripts to use Dart Sass CLI syntax
  • Bumped package version from 1.1.0 to 1.1.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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