ultimate-jekyll-manager 0.0.218 → 0.0.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,9 @@
2
2
  webpack: {
3
3
  target: 'default',
4
4
  },
5
+ imagemin: {
6
+ enabled: true,
7
+ },
5
8
  github: {
6
9
  workflows: {
7
10
  build: {
@@ -10,6 +10,7 @@ const GitHubCache = require('./utils/github-cache');
10
10
 
11
11
  // Load package
12
12
  const rootPathProject = Manager.getRootPath('project');
13
+ const ujmConfig = Manager.getUJMConfig();
13
14
 
14
15
  // Settings
15
16
  const CACHE_DIR = '.temp/cache/imagemin';
@@ -58,6 +59,12 @@ async function imagemin(complete) {
58
59
  return complete();
59
60
  }
60
61
 
62
+ // Skip if disabled in config
63
+ if (ujmConfig?.imagemin?.enabled === false) {
64
+ logger.log('⏭️ Skipping imagemin - disabled in ultimate-jekyll-manager.json');
65
+ return complete();
66
+ }
67
+
61
68
  // Track timing
62
69
  const startTime = Date.now();
63
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-jekyll-manager",
3
- "version": "0.0.218",
3
+ "version": "0.0.219",
4
4
  "description": "Ultimate Jekyll dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "exports": {