diff --git a/packages/cozy-scripts/config/webpack.config.pictures.js b/packages/cozy-scripts/config/webpack.config.pictures.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-scripts/config/webpack.config.pictures.js
+++ b/packages/cozy-scripts/config/webpack.config.pictures.js
@@ -2,7 +2,7 @@
 const { environment, target } = require('./webpack.vars')
 const SpriteLoaderPlugin = require('svg-sprite-loader/plugin')
 
-const isMobileApp = target === 'mobile' ? true : false
+const isMobileApp = target === 'mobile'
 module.exports = {
   module: {
     rules: [
Update packages/cozy-scripts/config/webpack.config.pictures.js