mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-01-15 16:33:35 -03:00
24 lines
516 B
JavaScript
24 lines
516 B
JavaScript
const common = require('./webpack.common');
|
|
const { merge } = require('webpack-merge');
|
|
|
|
const THEMES = [
|
|
'appletv',
|
|
'blueradiance',
|
|
'dark',
|
|
'light',
|
|
'purplehaze',
|
|
'wmc'
|
|
];
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'production',
|
|
entry: {
|
|
'main.jellyfin': './index.jsx',
|
|
'serviceworker': './serviceworker.js',
|
|
...THEMES.reduce((acc, theme) => {
|
|
acc[`themes/${theme}`] = `./themes/${theme}/theme.scss`;
|
|
return acc;
|
|
}, {})
|
|
}
|
|
});
|