Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sass-integration #109

Closed
wants to merge 5 commits into from
Closed

sass-integration #109

wants to merge 5 commits into from

Conversation

bartekus
Copy link
Contributor

sass-loader & node-sass modules added / webpack.config.js modified to enable .scss extensions / linted ok

@bartekus bartekus closed this Dec 23, 2015
@bartekus bartekus reopened this Dec 23, 2015
@bartekus
Copy link
Contributor Author

I figured that there is no harm in including sass plus I'm sure a lot of people will appreciate this down the line.

examples/biz-website/public/
examples/blog/public/
*.un~

# IDEA/WebStorm configuration directory
.idea/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be added to the .gitignore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, I usually don't include it as not to pollute the project with unnecessary IDE configuration files

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the npm ignore file not .gitignore.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh good catch, I feel silly, let me quickly fix it.

@KyleAMathews
Copy link
Contributor

👍 yeah, I agree popular Webpack loaders should be added to Gatsby so things just work out of the box for the vast majority of people. I.e. add more from here https://www.npmjs.com/browse/keyword/webpack-loader

@bartekus
Copy link
Contributor Author

You are correct, along with .scss, there should also be .sass . I'll correct it and resubmit shortly.

@bartekus
Copy link
Contributor Author

At this point you can merge this if you like.
I'll open another ticket and start working on adding img loader.

@KyleAMathews
Copy link
Contributor

Why is there 3 configs?

@bartekus
Copy link
Contributor Author

3 configs? I'm not sure I understand what you mean, but that's how I've always done it.

@KyleAMathews
Copy link
Contributor

Oh... nvm :) I forgot that there's a config for each stage. Didn't look at the file in full.

@@ -1,30 +0,0 @@
# Logs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you restore this file.

@KyleAMathews
Copy link
Contributor

I think once the .npmignore file is restored this is ready to go! Also if you could squish the commits down into one for cleanliness that'd be great.

@bartekus
Copy link
Contributor Author

I've tried to squash my commits but I'm not entirely convinced that I've been successful at it. ;(

@KyleAMathews
Copy link
Contributor

@bartekus
Copy link
Contributor Author

I've re-submitted cleaned-up version on #110

@bartekus bartekus closed this Dec 27, 2015
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
Added a start script to package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants