Fix build process
This commit is contained in:
parent
5c0a53b060
commit
6d9fd35805
|
@ -6,7 +6,7 @@
|
|||
"main": "main.js",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"electron": "^1.8.0"
|
||||
"electron": "^1.8.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"keytar": "^4.0.4",
|
||||
|
|
|
@ -75,6 +75,7 @@ module.exports = function(env) {
|
|||
const themes = fs.readdirSync(themesDir);
|
||||
const cssOptions = {use: [{loader: 'css-loader', options: {minimize: dist}}, 'less-loader']};
|
||||
for(const theme of themes) {
|
||||
if(!theme.endsWith('.less')) continue;
|
||||
const absPath = path.join(themesDir, theme);
|
||||
config.entry.chat.push(absPath);
|
||||
const plugin = new ExtractTextPlugin('themes/' + theme.slice(0, -5) + '.css');
|
||||
|
|
Loading…
Reference in New Issue