Include sass in gatsby globally
问题 I have the following project structure: gatsby-config.js /src /components layout.jsx /button button.jsx button.scss /pages /styles styles.scss _mixins.scss _variables.scss and gatsby-config.js and styles.scss are configured respectively in the following way: ... plugins: [ ..., `gatsby-plugin-sass` ] ... @import 'variables', 'mixins'; in order to access the mixins and variables, the styles.scss is being currently imported in all the components' scss files, e.g.: //button.scss @import './..