Skip to content

[BUG] The build:scss script directly compiles a Sass partial (_index.scss) #2775

@Rajlakshmi-ai

Description

@Rajlakshmi-ai

🐛 What's broken?

In the scripts object, the "build:scss" command is explicitly compiling scss/_index.scss. In Sass architecture, any file prefixed with an underscore (_) is designated as a "partial"—a modular snippet of CSS intended only to be imported by other stylesheets (@use or @import). Forcing a partial to compile directly into a standalone file violates Sass conventions.


📋 Steps to Reproduce

  1. Navigate to the repository file: package.json.
  2. Inspect the "scripts" object, specifically line 24.
  3. Observe the command: "build:scss": "sass scss/_index.scss dist/easemotion.scss.css".

✅ Expected Behavior

The root Sass file intended for compilation should not be a partial. The source file should be renamed from _index.scss to index.scss (or easemotion.scss) in the repository, and the script in package.json should be updated to target the new, non-partial filename.


❌ Actual Behavior

A Sass partial is being forcefully compiled as a primary entry point.


🔗 Reproduction

Current Script:

"build:scss": "sass scss/_index.scss dist/easemotion.scss.css",

Metadata

Metadata

Assignees

Labels

GSSoC-26Official GSSoC 2026 issueacceptedContribution approved for integration into EaseMotion CSSgood first issueGood for newcomersgssoc:approvedApproved for GSSoC contributionshelp wantedExtra attention neededlevel:intermediateRequires moderate project understanding

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions