@rsdoctor/rspack-plugin 1.3.5-beta.0 → 1.3.6
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.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const __rslib_import_meta_url__ = 'undefined' == typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
4
|
"./package.json": function(module) {
|
|
5
|
-
module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.
|
|
5
|
+
module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.6","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"1.5.8","@types/node":"^22.8.1","@types/tapable":"2.2.7","tslib":"2.8.1","typescript":"^5.9.2"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
|
|
6
6
|
}
|
|
7
7
|
}, __webpack_module_cache__ = {};
|
|
8
8
|
function __webpack_require__(moduleId) {
|
|
@@ -116,7 +116,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
116
116
|
try {
|
|
117
117
|
await this.sdk.bootstrap(), this.sdk.addClientRoutes([
|
|
118
118
|
types_namespaceObject.Manifest.RsdoctorManifestClientRoutes.Overall
|
|
119
|
-
]), this.outsideInstance && 'parent' in this.sdk && this.sdk.parent.master.setOutputDir(external_path_default().resolve(this.options.output.reportDir || compiler.outputPath, `./${types_namespaceObject.Constants.RsdoctorOutputFolder}`)), this.sdk.setOutputDir(external_path_default().resolve(this.options.output.reportDir || compiler.outputPath, `./${types_namespaceObject.Constants.RsdoctorOutputFolder}`)), await this.sdk.writeStore(), this.options.disableClientServer || (this.options.output.mode === types_namespaceObject.SDK.IMode[types_namespaceObject.SDK.IMode.brief] ? (0, plugins_namespaceObject.handleBriefModeReport)(this.sdk, this.options, this.options.disableClientServer) : await this.sdk.server.openClientPage('homepage')), this.options.disableClientServer && await this.sdk.dispose();
|
|
119
|
+
]), this.outsideInstance && 'parent' in this.sdk && this.sdk.parent.master.setOutputDir(external_path_default().resolve(this.options.output.reportDir || compiler.outputPath, this.options.output.mode === types_namespaceObject.SDK.IMode[types_namespaceObject.SDK.IMode.brief] ? '' : `./${types_namespaceObject.Constants.RsdoctorOutputFolder}`)), this.sdk.setOutputDir(external_path_default().resolve(this.options.output.reportDir || compiler.outputPath, this.options.output.mode === types_namespaceObject.SDK.IMode[types_namespaceObject.SDK.IMode.brief] ? '' : `./${types_namespaceObject.Constants.RsdoctorOutputFolder}`)), await this.sdk.writeStore(), this.options.disableClientServer || (this.options.output.mode === types_namespaceObject.SDK.IMode[types_namespaceObject.SDK.IMode.brief] ? (0, plugins_namespaceObject.handleBriefModeReport)(this.sdk, this.options, this.options.disableClientServer) : await this.sdk.server.openClientPage('homepage')), this.options.disableClientServer && await this.sdk.dispose();
|
|
120
120
|
} finally{
|
|
121
121
|
(0, logger_namespaceObject.timeEnd)('RsdoctorRspackPlugin.done');
|
|
122
122
|
}
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { Loader as common_Loader } from "@rsdoctor/utils/common";
|
|
|
9
9
|
import { chalk, logger, time, timeEnd } from "@rsdoctor/utils/logger";
|
|
10
10
|
var __webpack_modules__ = {
|
|
11
11
|
"./package.json": function(module) {
|
|
12
|
-
module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.
|
|
12
|
+
module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.6","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"1.5.8","@types/node":"^22.8.1","@types/tapable":"2.2.7","tslib":"2.8.1","typescript":"^5.9.2"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
|
|
13
13
|
}
|
|
14
14
|
}, __webpack_module_cache__ = {};
|
|
15
15
|
let pluginTapName = 'RsdoctorRspackPlugin', pluginTapPostOptions = {
|
|
@@ -95,7 +95,7 @@ class RsdoctorRspackPlugin {
|
|
|
95
95
|
try {
|
|
96
96
|
await this.sdk.bootstrap(), this.sdk.addClientRoutes([
|
|
97
97
|
Manifest.RsdoctorManifestClientRoutes.Overall
|
|
98
|
-
]), this.outsideInstance && 'parent' in this.sdk && this.sdk.parent.master.setOutputDir(path.resolve(this.options.output.reportDir || compiler.outputPath, `./${Constants.RsdoctorOutputFolder}`)), this.sdk.setOutputDir(path.resolve(this.options.output.reportDir || compiler.outputPath, `./${Constants.RsdoctorOutputFolder}`)), await this.sdk.writeStore(), this.options.disableClientServer || (this.options.output.mode === SDK.IMode[SDK.IMode.brief] ? handleBriefModeReport(this.sdk, this.options, this.options.disableClientServer) : await this.sdk.server.openClientPage('homepage')), this.options.disableClientServer && await this.sdk.dispose();
|
|
98
|
+
]), this.outsideInstance && 'parent' in this.sdk && this.sdk.parent.master.setOutputDir(path.resolve(this.options.output.reportDir || compiler.outputPath, this.options.output.mode === SDK.IMode[SDK.IMode.brief] ? '' : `./${Constants.RsdoctorOutputFolder}`)), this.sdk.setOutputDir(path.resolve(this.options.output.reportDir || compiler.outputPath, this.options.output.mode === SDK.IMode[SDK.IMode.brief] ? '' : `./${Constants.RsdoctorOutputFolder}`)), await this.sdk.writeStore(), this.options.disableClientServer || (this.options.output.mode === SDK.IMode[SDK.IMode.brief] ? handleBriefModeReport(this.sdk, this.options, this.options.disableClientServer) : await this.sdk.server.openClientPage('homepage')), this.options.disableClientServer && await this.sdk.dispose();
|
|
99
99
|
} finally{
|
|
100
100
|
timeEnd('RsdoctorRspackPlugin.done');
|
|
101
101
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/rspack-plugin",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
},
|
|
22
22
|
"type": "module",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@rsdoctor/core": "1.3.
|
|
25
|
-
"@rsdoctor/sdk": "1.3.
|
|
26
|
-
"@rsdoctor/types": "1.3.
|
|
27
|
-
"@rsdoctor/graph": "1.3.
|
|
28
|
-
"@rsdoctor/utils": "1.3.
|
|
24
|
+
"@rsdoctor/core": "1.3.6",
|
|
25
|
+
"@rsdoctor/sdk": "1.3.6",
|
|
26
|
+
"@rsdoctor/types": "1.3.6",
|
|
27
|
+
"@rsdoctor/graph": "1.3.6",
|
|
28
|
+
"@rsdoctor/utils": "1.3.6"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@rspack/core": "1.5.8",
|