@divriots/jampack 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/dist/optimize.js +2 -3
  2. package/package.json +1 -1
package/dist/optimize.js CHANGED
@@ -8,7 +8,6 @@ import options from './options.js';
8
8
  import { compressImage } from './compress.js';
9
9
  import svgToMiniDataURI from 'mini-svg-data-uri';
10
10
  import globalState from './state.js';
11
- import { exit } from 'process';
12
11
  async function analyse(file) {
13
12
  console.log('Processing ' + file);
14
13
  const html = (await fs.readFile(path.join(globalState.dir, file))).toString();
@@ -191,8 +190,8 @@ async function processImage(file, $, imgElement) {
191
190
  catch (e) {
192
191
  console.error('Error while processing image');
193
192
  console.error(e);
194
- // exit here until we cover all the issues
195
- exit(1);
193
+ // exit here
194
+ // exit(1);
196
195
  }
197
196
  }
198
197
  function setImageSize(img, meta) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divriots/jampack",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Packer for static websites",
5
5
  "author": "Georges Gomes @georges-gomes",
6
6
  "bin": {