1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/frontend/gulp/webpack/css-variables-loader.js
Mark McDowall 5894b4fd95 v3 UI
2018-12-29 13:08:43 +01:00

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;
};