Wolfgang Criollo
Wolfgang Criollo

Reputation: 158

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

Upvotes: 1

Views: 78

Answers (1)

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".

Upvotes: 1

Related Questions