Answer the question
In order to leave comments, you need to log in
How to use loader on variable in js?
Hello, I have a line
let str = "/*some scss code that should be compiled to css*/";
require('!sass-loader?{"sassOptions":{"indentWidth": "0"}}!..myScssFile.scss')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question