linkedin / linkedin/eyeglass

Eyeglass forces all files to be parsed as SCSS

Open
#163 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

package:eyeglass
Dominant language
TypeScript
Stars
738
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Title says it all. Might be a problem with gulp-sass, but basically if I run gulp-sass with node-sass options, it has no problem properly detecting what format I'm using. But if I put eyeglass in between the options and gulp-sass, suddenly it tries to port .sass files as SCSS and throws errors. It also ignores the node-sass indentedSyntax: true flag.

Configuration:
`{
indentWidth: 4,
omitSourceMapUrl: true,
eyeglass: {
root: path.join(__dirname, ".."),
buildDir: path.join(rootDir, "web-tmp")
}
}`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the provided gulp-sass configuration with a .sass file and indentedSyntax: true, then trace how Eyeglass passes options to node-sass. Done means .sass input is parsed as indented Sass without errors while other formats retain their expected parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.