Wolfgang Criollo Wolfgang Criollo - 5 months ago 57
Sass (Sass) Question

how to install singularitygs using webpack

I'm new to webpack and I'm trying to install singularitygs to my sass file,

I did a npm install singularitygs --save-dev

but not really sure how to go about this any help would be appreciated


Use https://github.com/jtangelder/sass-loader built specifically for Webpack.

It will let you import Singularity as

@import "~singularitygs/stylesheets/singularitygs"

Tilde for sass-loader means "import from node_modules".