mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 03:52:33 +02:00
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com> (cherry picked from commit 4ef2174226a0210f756f180dded8567d659589e2)
12 lines
264 B
JavaScript
12 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;
|
|
};
|