mirror of
https://github.com/Radarr/Radarr
synced 2024-12-23 00:12:44 +00:00
67fe9101d9
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com> (cherry picked from commit 4ef2174226a0210f756f180dded8567d659589e2)
11 lines
264 B
JavaScript
11 lines
264 B
JavaScript
const loaderUtils = require('loader-utils');
|
|
|
|
module.exports = function cssVariablesLoader(source) {
|
|
const options = loaderUtils.getOptions(this);
|
|
|
|
options.cssVarsFiles.forEach((cssVarsFile) => {
|
|
this.addDependency(cssVarsFile);
|
|
});
|
|
|
|
return source;
|
|
};
|