@rexnow/rslib-plugin 3.0.0 → 3.0.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.
- package/dist/index.js +4 -1
- package/package.json +6 -3
package/dist/index.js
CHANGED
|
@@ -6462,7 +6462,10 @@ async function processAfterBuild(api, stats, dtsPath) {
|
|
|
6462
6462
|
await typeDefFile.save();
|
|
6463
6463
|
}
|
|
6464
6464
|
function getOutputFiles(api, stats) {
|
|
6465
|
-
const buildStats = stats?.toJson(
|
|
6465
|
+
const buildStats = stats?.toJson({
|
|
6466
|
+
assets: true,
|
|
6467
|
+
outputPath: true
|
|
6468
|
+
});
|
|
6466
6469
|
const outputDir = buildStats?.outputPath || api.context.distPath;
|
|
6467
6470
|
const outputFiles = buildStats?.assets?.map((asset)=>node_path.resolve(outputDir, asset.name));
|
|
6468
6471
|
return outputFiles?.filter((file)=>node_fs.existsSync(file)) || [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rexnow/rslib-plugin",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -17,9 +17,11 @@
|
|
|
17
17
|
"provenance": true
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@rexnow/libs": "3.0.
|
|
20
|
+
"@rexnow/libs": "3.0.1",
|
|
21
21
|
"@rsbuild/core": "^2.2.5",
|
|
22
22
|
"@rslib/core": "^1.0.0",
|
|
23
|
+
"@rstest/adapter-rslib": "^0.11.12",
|
|
24
|
+
"@rstest/core": "^0.11.12",
|
|
23
25
|
"@types/node": "^26.5.1",
|
|
24
26
|
"typescript": "^7.0.2",
|
|
25
27
|
"zod": "^4.6.4"
|
|
@@ -39,6 +41,7 @@
|
|
|
39
41
|
"license": "MIT",
|
|
40
42
|
"scripts": {
|
|
41
43
|
"build": "rslib build",
|
|
42
|
-
"dev": "rslib build --watch"
|
|
44
|
+
"dev": "rslib build --watch",
|
|
45
|
+
"test": "rstest"
|
|
43
46
|
}
|
|
44
47
|
}
|