question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

scss files not being compiled on build

See original GitHub issue

after copying my app from CRA v1 to v2 everything seems working fine using .scss files but after building my app the .scss files are not being compiled at all. tried different ways, @import all .scss in one file and import it inside index.js, tried .module.scss and normal import './[name].scss non of them working on build. (node-sass) installed as mentioned in the doc.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
yasircsecommented, Nov 15, 2018

same issue here…i’ve imported all partial (_scss) files into index.scss so that i can share variables across partial (_scss) files. But in some partial (_scss) files variables are working fine. However, in other _scss files they dont work so i manually import the _variables.scss file. This is weird. If im already importing all my partial (_scss) files into index.scss and then importing the index.scss to a parent component then it should automatically make available all the variables.

0reactions
stale[bot]commented, Dec 15, 2018

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SCSS file not compiling anymore - Stack Overflow
SCSS file not compiling anymore · Uninstalling current version of Sass and installing an older version · Installing the latest version of Sass...
Read more >
Upgrade SASS / SCSS to Use Latest CSS - YouTube
If your live sass compiler not working in vscode, or you want to use latest SASS / SCSS and CSS properties, it is...
Read more >
VSCode: SCSS not compiling to CSS
I'm working in VSCode using HTML, SCSS and Bootstrap. All installed via npm from the terminal. I was working on and suddenly came...
Read more >
Sass Basics
Once Sass is installed, you can compile your Sass to CSS using the sass command. You'll need to tell Sass which file to...
Read more >
How to compile Sass files in Visual Studio and Webpack
Webpack and NPM Dependencies · Right click build -> Bindings -> Before Build — Visual Studio will run this task before each build....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found