mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 04:52:21 -07:00
New: Webpack 5, UI Package Updates
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
3722099b02
commit
6c9808fe56
24 changed files with 3035 additions and 6027 deletions
11
frontend/build/webpack/css-variables-loader.js
Normal file
11
frontend/build/webpack/css-variables-loader.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
const loaderUtils = require('loader-utils');
|
||||
|
||||
module.exports = function cssVariablesLoader(source) {
|
||||
const options = loaderUtils.getOptions(this);
|
||||
|
||||
options.cssVarsFiles.forEach((cssVarsFile) => {
|
||||
this.addDependency(cssVarsFile);
|
||||
});
|
||||
|
||||
return source;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue