1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-25 11:13:39 +02:00
Sonarr/frontend/build/webpack/css-variables-loader.js

13 lines
317 B
JavaScript
Raw Normal View History

2023-01-15 21:19:43 -08:00
// eslint-disable-next-line filenames/match-exported
2018-01-12 18:01:27 -08:00
const loaderUtils = require('loader-utils');
module.exports = function cssVariablesLoader(source) {
const options = loaderUtils.getOptions(this);
options.cssVarsFiles.forEach((cssVarsFile) => {
this.addDependency(cssVarsFile);
});
return source;
};