How do I pass environment variables to the gatsby-sass-plugin? I'd like to be able to pass an environment variable into the loader that I can then use in my scss files. This is not well documented and I'm not sure how to do it.
Reference: https://www.gatsbyjs.com/plugins/gatsby-plugin-sass/
This does not work:
{
resolve: "gatsby-plugin-sass",
options: {
additionalData: `$storeName: ${process.env.SHOPIFY_STORE_NAME};`
}
},
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…