@atlaspack/reporter-conditional-manifest 2.12.1-canary.3572 → 2.12.1-canary.3573

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.
@@ -51,6 +51,7 @@ async function report({
51
51
  const conditionalManifest = JSON.stringify(
52
52
  // If there's no content, send an empty manifest so we can still map from it safely
53
53
  manifest[target.name] ?? {}, null, 2);
54
+ await options.outputFS.mkdirp((0, _path().dirname)(conditionalManifestFilename));
54
55
  await options.outputFS.writeFile(conditionalManifestFilename, conditionalManifest, {
55
56
  mode: 0o666
56
57
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/reporter-conditional-manifest",
3
- "version": "2.12.1-canary.3572+1e9815d9c",
3
+ "version": "2.12.1-canary.3573+4e1e11e5e",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -12,12 +12,12 @@
12
12
  "main": "lib/ConditionalManifestReporter.js",
13
13
  "source": "src/ConditionalManifestReporter.js",
14
14
  "engines": {
15
- "atlaspack": "2.12.1-canary.3572+1e9815d9c",
15
+ "atlaspack": "2.12.1-canary.3573+4e1e11e5e",
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/plugin": "2.12.1-canary.3572+1e9815d9c",
19
+ "@atlaspack/plugin": "2.12.1-canary.3573+4e1e11e5e",
20
20
  "nullthrows": "^1.1.1"
21
21
  },
22
- "gitHead": "1e9815d9c4b29653bf4110f2536278a3ea5e431e"
22
+ "gitHead": "4e1e11e5ea800f076e130249ff1f05ff7327c823"
23
23
  }
@@ -1,5 +1,5 @@
1
1
  // @flow strict-local
2
- import {relative, join} from 'path';
2
+ import {relative, join, dirname} from 'path';
3
3
  import {Reporter} from '@atlaspack/plugin';
4
4
  import type {
5
5
  Async,
@@ -59,6 +59,8 @@ async function report({
59
59
  2,
60
60
  );
61
61
 
62
+ await options.outputFS.mkdirp(dirname(conditionalManifestFilename));
63
+
62
64
  await options.outputFS.writeFile(
63
65
  conditionalManifestFilename,
64
66
  conditionalManifest,