Last active
January 22, 2021 13:00
-
-
Save BartoszBilejczyk/2e3df186d38097d2887d3dfd90dbdf23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vue.config.js | |
const getVariablePath = require('./src/config/product-specific/styling'); | |
module.exports = { | |
css: { | |
loaderOptions: { | |
sass: { | |
additionalData: ` | |
@import "@/styles/global/_variables.scss"; | |
@import "@/styles/product-specific/${getVariablePath()}.scss"; | |
` | |
} | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment