rollup-plugin-stats 1.0.0 → 1.1.0-beta.0
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.
- package/README.md +3 -1
- package/dist/extract.d.ts +9 -0
- package/dist/index.cjs +54 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +54 -17
- package/dist/index.mjs.map +1 -1
- package/dist/utils/check-exclude-filepath.d.ts +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/rollup-plugin-stats)
|
|
4
4
|

|
|
5
5
|
[](https://socket.dev/npm/package/rollup-plugin-stats)
|
|
6
|
-
[](https://github.com/vio/rollup-plugin-stats/actions/workflows/ci.yml)
|
|
7
7
|
|
|
8
8
|
Output Rollup stats JSON file
|
|
9
9
|
|
|
@@ -50,3 +50,5 @@ module.exports = {
|
|
|
50
50
|
- `fileName` - the JSON filename relative to the build folder, default: `stats.json`
|
|
51
51
|
- `stats`
|
|
52
52
|
- `source` - output asset/chunk/module source (default `false`)
|
|
53
|
+
- `excludeAssets` - exclude matching assets: `string | RegExp | ((filepath: string) => boolean) | Array<string | RegExp | ((filepath: string) => boolean)>`
|
|
54
|
+
- `excludeModules` - exclude matching modules: `string | RegExp | ((filepath: string) => boolean) | Array<string | RegExp | ((filepath: string) => boolean)>`
|
package/dist/extract.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OutputAsset, OutputBundle, OutputChunk, RenderedModule } from 'rollup';
|
|
2
|
+
import { type ExcludeFilepathPatterns } from './utils/check-exclude-filepath';
|
|
2
3
|
export type AssetStats = Omit<OutputAsset, 'source'> & {
|
|
3
4
|
source?: OutputAsset['source'];
|
|
4
5
|
};
|
|
@@ -16,5 +17,13 @@ export type StatsOptions = {
|
|
|
16
17
|
* @default false
|
|
17
18
|
*/
|
|
18
19
|
source?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Exclude matching assets
|
|
22
|
+
*/
|
|
23
|
+
excludeAssets?: ExcludeFilepathPatterns;
|
|
24
|
+
/**
|
|
25
|
+
* Exclude matching modules
|
|
26
|
+
*/
|
|
27
|
+
excludeModules?: ExcludeFilepathPatterns;
|
|
19
28
|
};
|
|
20
29
|
export default function extractRollupStats(bundle: OutputBundle, options?: StatsOptions): Stats;
|
package/dist/index.cjs
CHANGED
|
@@ -2,34 +2,71 @@
|
|
|
2
2
|
|
|
3
3
|
var omit = require('lodash/omit.js');
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Check if filepath should be excluded based on patterns
|
|
7
|
+
*/
|
|
8
|
+
function checkExcludeFilepath(filepath, patterns) {
|
|
9
|
+
if (!patterns) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
if (Array.isArray(patterns)) {
|
|
13
|
+
let res = false;
|
|
14
|
+
for (let i = 0; i <= patterns.length - 1 && res === false; i++) {
|
|
15
|
+
res = checkExcludeFilepath(filepath, patterns[i]);
|
|
16
|
+
}
|
|
17
|
+
return res;
|
|
18
|
+
}
|
|
19
|
+
if (typeof patterns === 'function') {
|
|
20
|
+
return patterns(filepath);
|
|
21
|
+
}
|
|
22
|
+
if (typeof patterns === 'string') {
|
|
23
|
+
return Boolean(filepath.match(patterns));
|
|
24
|
+
}
|
|
25
|
+
if ('test' in patterns) {
|
|
26
|
+
return patterns.test(filepath);
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
|
|
5
31
|
function extractRollupStats(bundle, options = {}) {
|
|
6
|
-
const { source = false } = options;
|
|
32
|
+
const { source = false, excludeAssets, excludeModules } = options;
|
|
7
33
|
const output = {};
|
|
8
|
-
Object.entries(bundle).forEach(([
|
|
9
|
-
if
|
|
10
|
-
|
|
11
|
-
|
|
34
|
+
Object.entries(bundle).forEach(([bundleEntryFilepath, bundleEntryStats]) => {
|
|
35
|
+
// Skip extraction if the entry filepath matches the exclude assets pattern
|
|
36
|
+
if (checkExcludeFilepath(bundleEntryFilepath, excludeAssets)) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (bundleEntryStats.type === "asset") {
|
|
40
|
+
let assetStats = structuredClone(bundleEntryStats);
|
|
41
|
+
// Skip asset source if options source is false
|
|
12
42
|
if (!source) {
|
|
13
|
-
|
|
43
|
+
assetStats = omit(assetStats, 'source');
|
|
14
44
|
}
|
|
15
|
-
output[
|
|
45
|
+
output[bundleEntryFilepath] = assetStats;
|
|
16
46
|
return;
|
|
17
47
|
}
|
|
18
|
-
if (
|
|
19
|
-
let
|
|
20
|
-
// Skip chunk
|
|
48
|
+
if (bundleEntryStats.type === "chunk") {
|
|
49
|
+
let chunkStats = structuredClone(bundleEntryStats);
|
|
50
|
+
// Skip chunk source if options source is false
|
|
21
51
|
if (!source) {
|
|
22
|
-
|
|
52
|
+
chunkStats = omit(chunkStats, 'code');
|
|
23
53
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
54
|
+
// Extract chunk modules stats
|
|
55
|
+
const chunkModulesStats = {};
|
|
56
|
+
Object.entries(chunkStats.modules).forEach(([bundleModuleFilepath, bundleModuleStats]) => {
|
|
57
|
+
// Skip module extraction if the filepath matches the exclude modules pattern
|
|
58
|
+
if (checkExcludeFilepath(bundleModuleFilepath, excludeModules)) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
let moduleStats = structuredClone(bundleModuleStats);
|
|
62
|
+
// Skip module source if options source is false
|
|
27
63
|
if (!source) {
|
|
28
|
-
|
|
64
|
+
moduleStats = omit(moduleStats, 'code');
|
|
29
65
|
}
|
|
30
|
-
|
|
66
|
+
chunkModulesStats[bundleModuleFilepath] = moduleStats;
|
|
31
67
|
});
|
|
32
|
-
|
|
68
|
+
chunkStats.modules = chunkModulesStats;
|
|
69
|
+
output[bundleEntryFilepath] = chunkStats;
|
|
33
70
|
return;
|
|
34
71
|
}
|
|
35
72
|
});
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/extract.ts","../src/index.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/utils/check-exclude-filepath.ts","../src/extract.ts","../src/index.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;AAIA;;AAEG;AACa,SAAA,oBAAoB,CAClC,QAAgB,EAChB,QAAkC,EAAA;IAElC,IAAI,CAAC,QAAQ,EAAE;AACb,QAAA,OAAO,KAAK;;AAGd,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;QAC3B,IAAI,GAAG,GAAG,KAAK;QAEf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,KAAK,KAAK,EAAE,CAAC,EAAE,EAAE;YAC9D,GAAG,GAAG,oBAAoB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;;AAGnD,QAAA,OAAO,GAAG;;AAGZ,IAAA,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;AAClC,QAAA,OAAO,QAAQ,CAAC,QAAQ,CAAC;;AAG3B,IAAA,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,OAAO,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;;AAG1C,IAAA,IAAI,MAAM,IAAI,QAAQ,EAAE;AACtB,QAAA,OAAO,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC;;AAGhC,IAAA,OAAO,KAAK;AACd;;ACHwB,SAAA,kBAAkB,CAAC,MAAoB,EAAE,UAAwB,EAAE,EAAA;IACzF,MAAM,EAAE,MAAM,GAAG,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,GAAG,OAAO;IAEjE,MAAM,MAAM,GAAU,EAAE;AAExB,IAAA,MAAM,CAAC,OAAO,C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A,OAAO,MAAM;AACf;;AC3FA,MAAM,WAAW,GAAG,aAAa;AACjC,MAAM,iBAAiB,GAAG,YAAY;AAEtC,SAAS,mBAAmB,CAAC,KAAc,EAAA;IACzC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACvC;AAWA,SAAS,WAAW,CAAC,OAAA,GAA8B,EAAE,EAAA;AACnD,IAAA,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,OAAO;IAEnC,OAAO;AACL,QAAA,IAAI,EAAE,WAAW;QACjB,cAAc,CAAC,CAAC,EAAE,MAAM,EAAA;YACtB,IAAI,CAAC,QAAQ,CAAC;AACZ,gBAAA,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,QAAQ,IAAI,iBAAiB;gBACvC,MAAM,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC/D,aAAA,CAAC;SACH;KACe;AACpB;;;;"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,33 +1,70 @@
|
|
|
1
1
|
import omit from 'lodash/omit.js';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Check if filepath should be excluded based on patterns
|
|
5
|
+
*/
|
|
6
|
+
function checkExcludeFilepath(filepath, patterns) {
|
|
7
|
+
if (!patterns) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
if (Array.isArray(patterns)) {
|
|
11
|
+
let res = false;
|
|
12
|
+
for (let i = 0; i <= patterns.length - 1 && res === false; i++) {
|
|
13
|
+
res = checkExcludeFilepath(filepath, patterns[i]);
|
|
14
|
+
}
|
|
15
|
+
return res;
|
|
16
|
+
}
|
|
17
|
+
if (typeof patterns === 'function') {
|
|
18
|
+
return patterns(filepath);
|
|
19
|
+
}
|
|
20
|
+
if (typeof patterns === 'string') {
|
|
21
|
+
return Boolean(filepath.match(patterns));
|
|
22
|
+
}
|
|
23
|
+
if ('test' in patterns) {
|
|
24
|
+
return patterns.test(filepath);
|
|
25
|
+
}
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
|
|
3
29
|
function extractRollupStats(bundle, options = {}) {
|
|
4
|
-
const { source = false } = options;
|
|
30
|
+
const { source = false, excludeAssets, excludeModules } = options;
|
|
5
31
|
const output = {};
|
|
6
|
-
Object.entries(bundle).forEach(([
|
|
7
|
-
if
|
|
8
|
-
|
|
9
|
-
|
|
32
|
+
Object.entries(bundle).forEach(([bundleEntryFilepath, bundleEntryStats]) => {
|
|
33
|
+
// Skip extraction if the entry filepath matches the exclude assets pattern
|
|
34
|
+
if (checkExcludeFilepath(bundleEntryFilepath, excludeAssets)) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
if (bundleEntryStats.type === "asset") {
|
|
38
|
+
let assetStats = structuredClone(bundleEntryStats);
|
|
39
|
+
// Skip asset source if options source is false
|
|
10
40
|
if (!source) {
|
|
11
|
-
|
|
41
|
+
assetStats = omit(assetStats, 'source');
|
|
12
42
|
}
|
|
13
|
-
output[
|
|
43
|
+
output[bundleEntryFilepath] = assetStats;
|
|
14
44
|
return;
|
|
15
45
|
}
|
|
16
|
-
if (
|
|
17
|
-
let
|
|
18
|
-
// Skip chunk
|
|
46
|
+
if (bundleEntryStats.type === "chunk") {
|
|
47
|
+
let chunkStats = structuredClone(bundleEntryStats);
|
|
48
|
+
// Skip chunk source if options source is false
|
|
19
49
|
if (!source) {
|
|
20
|
-
|
|
50
|
+
chunkStats = omit(chunkStats, 'code');
|
|
21
51
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
52
|
+
// Extract chunk modules stats
|
|
53
|
+
const chunkModulesStats = {};
|
|
54
|
+
Object.entries(chunkStats.modules).forEach(([bundleModuleFilepath, bundleModuleStats]) => {
|
|
55
|
+
// Skip module extraction if the filepath matches the exclude modules pattern
|
|
56
|
+
if (checkExcludeFilepath(bundleModuleFilepath, excludeModules)) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
let moduleStats = structuredClone(bundleModuleStats);
|
|
60
|
+
// Skip module source if options source is false
|
|
25
61
|
if (!source) {
|
|
26
|
-
|
|
62
|
+
moduleStats = omit(moduleStats, 'code');
|
|
27
63
|
}
|
|
28
|
-
|
|
64
|
+
chunkModulesStats[bundleModuleFilepath] = moduleStats;
|
|
29
65
|
});
|
|
30
|
-
|
|
66
|
+
chunkStats.modules = chunkModulesStats;
|
|
67
|
+
output[bundleEntryFilepath] = chunkStats;
|
|
31
68
|
return;
|
|
32
69
|
}
|
|
33
70
|
});
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../src/extract.ts","../src/index.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../src/utils/check-exclude-filepath.ts","../src/extract.ts","../src/index.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;AAIA;;AAEG;AACa,SAAA,oBAAoB,CAClC,QAAgB,EAChB,QAAkC,EAAA;IAElC,IAAI,CAAC,QAAQ,EAAE;AACb,QAAA,OAAO,KAAK;;AAGd,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;QAC3B,IAAI,GAAG,GAAG,KAAK;QAEf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,KAAK,KAAK,EAAE,CAAC,EAAE,EAAE;YAC9D,GAAG,GAAG,oBAAoB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;;AAGnD,QAAA,OAAO,GAAG;;AAGZ,IAAA,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;AAClC,QAAA,OAAO,QAAQ,CAAC,QAAQ,CAAC;;AAG3B,IAAA,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,OAAO,OAAO,CAAC,QAAQ,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AE;oBAC9D;;AAGF,gBAAA,IAAI,WAAW,GAAG,eAAe,CAAC,iBAAiB,CAAgB;;gBAGnE,IAAI,CAAC,MAAM,EAAE;AACX,oBAAA,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;;AAGzC,gBAAA,iBAAiB,CAAC,oBAAoB,CAAC,GAAG,WAAW;AACvD,aAAC,CAAC;AAEF,YAAA,UAAU,CAAC,OAAO,GAAG,iBAAiB;AAEtC,YAAA,MAAM,CAAC,mBAAmB,CAAC,GAAG,UAAU;YAExC;;AAEJ,KAAC,CAAC;AAEF,IAAA,OAAO,MAAM;AACf;;AC3FA,MAAM,WAAW,GAAG,aAAa;AACjC,MAAM,iBAAiB,GAAG,YAAY;AAEtC,SAAS,mBAAmB,CAAC,KAAc,EAAA;IACzC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACvC;AAWA,SAAS,WAAW,CAAC,OAAA,GAA8B,EAAE,EAAA;AACnD,IAAA,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,OAAO;IAEnC,OAAO;AACL,QAAA,IAAI,EAAE,WAAW;QACjB,cAAc,CAAC,CAAC,EAAE,MAAM,EAAA;YACtB,IAAI,CAAC,QAAQ,CAAC;AACZ,gBAAA,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,QAAQ,IAAI,iBAAiB;gBACvC,MAAM,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC/D,aAAA,CAAC;SACH;KACe;AACpB;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type ExcludeFilepathParam = string | RegExp | ((filepath: string) => boolean);
|
|
2
|
+
export type ExcludeFilepathPatterns = ExcludeFilepathParam | Array<ExcludeFilepathParam>;
|
|
3
|
+
/**
|
|
4
|
+
* Check if filepath should be excluded based on patterns
|
|
5
|
+
*/
|
|
6
|
+
export declare function checkExcludeFilepath(filepath: string, patterns?: ExcludeFilepathPatterns): boolean;
|
|
7
|
+
export {};
|