1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-31 20:35:37 +00:00
Radarr/frontend/gulp/webpack/css-variables-loader.js

12 lines
264 B
JavaScript
Raw Normal View History

2018-11-23 07:04:42 +00: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;
};