|
@ -24,7 +24,7 @@ module.exports = function(env, argv) { |
|
|
env.optimizeImages = true; |
|
|
env.optimizeImages = true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return [getExtensionConfig(env), getUIConfig(env)]; |
|
|
|
|
|
|
|
|
return [getExtensionConfig(env), getWebviewsConfig(env)]; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
function getExtensionConfig(env) { |
|
|
function getExtensionConfig(env) { |
|
@ -122,7 +122,7 @@ function getExtensionConfig(env) { |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function getUIConfig(env) { |
|
|
|
|
|
|
|
|
function getWebviewsConfig(env) { |
|
|
const clean = []; |
|
|
const clean = []; |
|
|
if (env.optimizeImages) { |
|
|
if (env.optimizeImages) { |
|
|
console.log('Optimizing images (src/webviews/apps/images/settings/*.png)...'); |
|
|
console.log('Optimizing images (src/webviews/apps/images/settings/*.png)...'); |
|
|