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

Bulma Styles not being imported on Gatsby Build #171

Closed
jacksaunders opened this issue Mar 20, 2019 · 4 comments
Closed

Bulma Styles not being imported on Gatsby Build #171

jacksaunders opened this issue Mar 20, 2019 · 4 comments

Comments

@jacksaunders
Copy link

I am using v3 of this repo with a gatsby v2 site.

i am importing the components like so

import { Field, Control, Label, Input, Help,} from 'react-bulma-components/lib/components/form'

All is working fine when running gatsby develop and the styles are imported from the form.sass file in the bulma node_modules folder.

However when i run gatsby build none of the Bulma styles are being imported.

This is my gatsby sass config

{
      resolve: `gatsby-plugin-sass`,
      options: {
        includePaths: ['./src', './node_modules'],
      },
    },

I have tried both with and without node_modules in the includePath

i assume this is a webpack issue but i cant quite work out whats going on.

@jeremyhalin
Copy link

Seems to be an issue related to gatsby-plugin-sass. What's your version ?
Try to lock your gatsby-plugin-sass to version 1.0.19 if you are on 1.0.20.
Check this issue : Styles missing from build when using gatsby-plugin-sass with CSS modules

@jacksaunders
Copy link
Author

i'm using version 2.0.11 of gatsby-plugin-sass

@couds
Copy link
Owner

couds commented Oct 7, 2019

This is still happening? the Gatsby issue is solved

@couds
Copy link
Owner

couds commented Oct 19, 2019

Closing this due inactivity

@couds couds closed this as completed Oct 19, 2019
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

No branches or pull requests

3 participants