Closed manuschillerdev closed 3 years ago
Hi! I use the following settings in my project:
rollup.config.js
styles({
sass: {
data: `
@import "${path.join(__dirname, "src/styles/variables.scss")}";
`,
},
}),
thanks for the great plugin!
Is it possible to inject several scss imports to every scss file before processing it? In our webpack project we use sass-resoucres-loader for that, so we do not need to manually import the helpers in every *.scss file:
src/app/styles/utils/rem-to-px.scss
MyComponent.scss
is this possible with this or any other rollup plugin right now? Thanks again!