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.

Setting up CSS Preprocessor with npm commands

See original GitHub issue

I loved the utility and enjoyed working with default configuration without needing to configure anything.

Though after getting used to LESS/SCSS, I want to use it in the project.

But PostCSS is also a great tool, so don’t wanna remove from the workflow. Though working with only CSS files makes it difficult sometimes and to plug preprocessor, it would require to eject from default config.

Like ionic, it would be good to have features; e.g. in ionic running ionic setup sass will setup the project for SASS/SCSS related workflow and and files; similarly running similar will set it up for LESS or SASS/SCSS

This would keep default scripts and need not to eject.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gaearoncommented, Feb 12, 2017

This is now explained in the Sass integration documentation.

1reaction
kulakowkacommented, Aug 29, 2016

I would like to have support for stylus.

Could you add the stylus-loader for *.styl extensions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Start Using Sass with WordPress Through NPM Scripts
Sass is a CSS preprocessor language that helps developers write CSS ... sudo npm install # For Linux run the following command npm...
Read more >
process-css-demo - npm
A demo of process-css set up as a Node-based CSS preprocessor for supporting custom at-rules, custom selectors, custom properties, custom ...
Read more >
Sass / SCSS 2022 COMPLETE Tutorial (+ Node.js & NPM ...
... Using NPM -package to compile Sass into CSS 21:34 - npm install sass 24:29 - Write a script in package.json to use...
Read more >
Setting Up Stylus CSS Preprocessor - Sabe.io
Learn how to set up the Stylus CSS preprocessor in your project including a ... To do so, run the following command in...
Read more >
What is PostCSS? How to Use Plugins to Automate CSS Tasks
The above command will create a new directory called 'public' which contains our final Vanilla CSS file, which has the same name as...
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