webpack-assets-manifest 6.2.0 → 6.2.1

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.
@@ -229,6 +229,12 @@ class WebpackAssetsManifest {
229
229
  }
230
230
  }
231
231
  }
232
+ catch (error) {
233
+ if (error instanceof Error && 'code' in error && error.code === 'ENOENT') {
234
+ return;
235
+ }
236
+ throw error;
237
+ }
232
238
  finally {
233
239
  this.#isMerging = false;
234
240
  }
@@ -193,6 +193,12 @@ export class WebpackAssetsManifest {
193
193
  }
194
194
  }
195
195
  }
196
+ catch (error) {
197
+ if (error instanceof Error && 'code' in error && error.code === 'ENOENT') {
198
+ return;
199
+ }
200
+ throw error;
201
+ }
196
202
  finally {
197
203
  this.#isMerging = false;
198
204
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpack-assets-manifest",
3
- "version": "6.2.0",
3
+ "version": "6.2.1",
4
4
  "description": "This Webpack plugin will generate a JSON file that matches the original filename with the hashed version.",
5
5
  "license": "MIT",
6
6
  "repository": {