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.

How to configure node-sass in parcel 2.0?

See original GitHub issue

When i try to build my project it tells me

node-sass is unsupported in Parcel 2, it will use Dart Sass a.k.a. sass

From documentation:

You can also use node-sass module for SCSS compilation.

I dont want dart-sass because one of my dependencies breaking when i try to build it with dart-sass. How can i disable it and use node-sass instead?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
esr360commented, Nov 19, 2019

If you want people to adopt Parcel you should make it compatible with node-sass. I don’t expect a bundler to dictate the tools I can use.

1reaction
IdeaHuntercommented, Nov 5, 2019

Ok, thanks! Can you please update documentation to make people that are new to parcel dont get confused what it can do because they can have some dependencies that need to be compiled with node-sass

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sass - Parcel
Parcel supports Sass files automatically using the @parcel/transformer-sass plugin. ... To configure Sass, create a .sassrc or .sassrc.json file.
Read more >
@parcel/transformer-sass - npm
Start using @parcel/transformer-sass in your project by running `npm i @parcel/transformer-sass`. There are 9 other projects in the npm ...
Read more >
parcel/transformer-sass v2.8.0 - npm.io
Before we get started, you'll need to install Node and Yarn (or npm) and create a package.json for your project if you haven't...
Read more >
Heroku doesn't install @parcel/transformer-sass
I've also used parcel build before deploying but still the same. javascript · node.js · heroku · sass · parceljs.
Read more >
Bootstrap & Parcel
Install Parcel. Unlike our Webpack guide, there's only a single build tool dependency here. Parcel will automatically install language transformers (like Sass) ...
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