🐛 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
- Navigate to the repository file:
package.json.
- Inspect the
"scripts" object, specifically line 24.
- 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",
🐛 What's broken?
In the
scriptsobject, the"build:scss"command is explicitly compilingscss/_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 (@useor@import). Forcing a partial to compile directly into a standalone file violates Sass conventions.📋 Steps to Reproduce
package.json."scripts"object, specifically line 24."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.scsstoindex.scss(oreasemotion.scss) in the repository, and the script inpackage.jsonshould 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: