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

fix: renaming private scss files #1379

Merged
merged 3 commits into from
Apr 9, 2019
Merged

fix: renaming private scss files #1379

merged 3 commits into from
Apr 9, 2019

Conversation

jbadan
Copy link
Contributor

@jbadan jbadan commented Apr 8, 2019

This is prerequisite work for moving to a new node-sass and post-css build pipeline.

These files are currently not the in the dist folder, renaming them with an underscore will prevent them from being picked up by node-sass. Note: the imports of these files do not need to be updated, seecore.scss as an example. @import "core/root" works the same as @import "core/_root"

@jbadan jbadan requested a review from a team April 8, 2019 20:09
@joseegm
Copy link
Contributor

joseegm commented Apr 8, 2019

Test Version for this PR was deployed

Built with commit 5602d63

https://deploy-preview-1379--fundamental.netlify.com

@bcullman
Copy link
Contributor

bcullman commented Apr 8, 2019

Seems like the references to these files should also be fixed.

I get that SCSS may allow for name -> _name substitution, but I think that is not intuitive.

@bcullman
Copy link
Contributor

bcullman commented Apr 8, 2019

After further discussion with @jbadan, we have determined that it is common in SASS to import .scss without the underscore or even the file extension.

for example, see: https://github.com/twbs/bootstrap/blob/master/scss/bootstrap.scss

So, disregard my prior comment.

@eboyer
Copy link
Contributor

eboyer commented Apr 8, 2019

@bcullman @jbadan ~ Just to confirm then, @jbadan's original statement of references not being needed to be updated still holds true?

@bcullman
Copy link
Contributor

bcullman commented Apr 8, 2019

@eboyer correct.

@jbadan jbadan merged commit 5b38506 into master Apr 9, 2019
@jbadan jbadan deleted the fix/rename-scss branch April 9, 2019 01:59
droshev pushed a commit that referenced this pull request Jul 16, 2020
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.

4 participants