mirror of
https://github.com/Lidarr/Lidarr.git
synced 2024-11-09 07:00:31 -08:00
ecf63006f3
(cherry picked from commit a18c3774661f466727ab46315211aecb43ef1def) Closes #3350
13 lines
317 B
JavaScript
13 lines
317 B
JavaScript
// eslint-disable-next-line filenames/match-exported
|
|
const loaderUtils = require('loader-utils');
|
|
|
|
module.exports = function cssVariablesLoader(source) {
|
|
const options = loaderUtils.getOptions(this);
|
|
|
|
options.cssVarsFiles.forEach((cssVarsFile) => {
|
|
this.addDependency(cssVarsFile);
|
|
});
|
|
|
|
return source;
|
|
};
|