Skip to content

Inject global scss files before processing styles #161

Answered by pollys2217
manuschillerdev asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I use the following settings in my project:

rollup.config.js

styles({
         sass: {
            data: `
               @import "${path.join(__dirname, "src/styles/variables.scss")}";
            `,
         },
}),

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Anidetrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #146 on January 19, 2021 17:00.