hellobrian / sass-recipes

Sass things that I do all the time or should remember to do because googling tutorials gets old
155 stars 15 forks source link

Webpack #3

Open hellobrian opened 7 years ago

hellobrian commented 7 years ago
cristianmartinez commented 7 years ago

Hi @hellobrian , I think webpack works very well for projects which integrate js (compile new js version for the browsers) and html as well, i think for simple solutions which just needs sass this repository give us a complete example how to use it. btw, I was researching a little bit about why the team behind create-react-app project uses node-sass-chokidar instead of node-sass and it's because performace issues.

hellobrian commented 7 years ago

Thanks, @cristianmartinez, I definitely agree with everything you said! I'm almost always using create-react-app or next.js when building new react projects so using node-sass-chokidar is enough.

With that said, learning how to use sass-loader with Webpack will only be relevant to me and other devs in edge case situations when we need to setup an app from scratch.