@atlaspack/reporter-bundle-stats 2.12.1-dev.3365 → 2.12.1-dev.3398
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.
@@ -46,7 +46,7 @@ var _default = exports.default = new (_plugin().Reporter)({
|
|
46
46
|
for (let bundle of event.bundleGraph.getBundles()) {
|
47
47
|
bundlesByTarget.get(bundle.target.name).push(bundle);
|
48
48
|
}
|
49
|
-
let reportsDir = _path().default.join(options.projectRoot, '
|
49
|
+
let reportsDir = _path().default.join(options.projectRoot, 'parcel-bundle-reports');
|
50
50
|
await options.outputFS.mkdirp(reportsDir);
|
51
51
|
await Promise.all([...bundlesByTarget.entries()].map(([targetName, bundles]) => options.outputFS.writeFile(_path().default.join(reportsDir, `${targetName}-stats.json`), JSON.stringify(getBundleStats(bundles, options), null, 2))));
|
52
52
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaspack/reporter-bundle-stats",
|
3
|
-
"version": "2.12.1-dev.
|
3
|
+
"version": "2.12.1-dev.3398+81c73b3cd",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -11,15 +11,15 @@
|
|
11
11
|
},
|
12
12
|
"engines": {
|
13
13
|
"node": ">= 16.0.0",
|
14
|
-
"
|
14
|
+
"parcel": "^2.12.1-dev.3398+81c73b3cd"
|
15
15
|
},
|
16
16
|
"dependencies": {
|
17
|
-
"@atlaspack/core": "2.12.1-dev.
|
18
|
-
"@atlaspack/plugin": "2.12.1-dev.
|
19
|
-
"@atlaspack/utils": "2.12.1-dev.
|
17
|
+
"@atlaspack/core": "2.12.1-dev.3398+81c73b3cd",
|
18
|
+
"@atlaspack/plugin": "2.12.1-dev.3398+81c73b3cd",
|
19
|
+
"@atlaspack/utils": "2.12.1-dev.3398+81c73b3cd"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
|
-
"@atlaspack/types": "2.12.1-dev.
|
22
|
+
"@atlaspack/types": "2.12.1-dev.3398+81c73b3cd"
|
23
23
|
},
|
24
|
-
"gitHead": "
|
24
|
+
"gitHead": "81c73b3cdf93adf8b0013be9fed5422579bd5910"
|
25
25
|
}
|
@@ -39,7 +39,7 @@ export default (new Reporter({
|
|
39
39
|
bundlesByTarget.get(bundle.target.name).push(bundle);
|
40
40
|
}
|
41
41
|
|
42
|
-
let reportsDir = path.join(options.projectRoot, '
|
42
|
+
let reportsDir = path.join(options.projectRoot, 'parcel-bundle-reports');
|
43
43
|
await options.outputFS.mkdirp(reportsDir);
|
44
44
|
|
45
45
|
await Promise.all(
|