@rsdoctor/rspack-plugin 0.1.4 → 0.1.6-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/dist/builtinLoaderPlugin.d.ts +1 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.js +2 -1
- package/dist/probeLoader.d.ts +1 -1
- package/package.json +10 -7
package/dist/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Compiler } from '@rspack/core';
|
|
1
|
+
import type { Compiler } from '@rspack/core';
|
|
2
2
|
import { ModuleGraph } from '@rsdoctor/graph';
|
|
3
3
|
import { RsdoctorWebpackSDK } from '@rsdoctor/sdk';
|
|
4
4
|
import type { RsdoctorPluginInstance, RsdoctorPluginOptionsNormalized, RsdoctorRspackPluginOptions } from '@rsdoctor/core';
|
package/dist/plugin.js
CHANGED
|
@@ -76,7 +76,8 @@ class RsdoctorRspackPlugin {
|
|
|
76
76
|
name: import_constants.pluginTapName,
|
|
77
77
|
root: process.cwd(),
|
|
78
78
|
type: import_types.SDK.ToDataType.Normal,
|
|
79
|
-
config: { disableTOSUpload: this.options.disableTOSUpload }
|
|
79
|
+
config: { disableTOSUpload: this.options.disableTOSUpload },
|
|
80
|
+
innerClientName: this.options.innerClientName
|
|
80
81
|
});
|
|
81
82
|
this.modulesGraph = new import_graph.ModuleGraph();
|
|
82
83
|
}
|
package/dist/probeLoader.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Plugin } from '@rsdoctor/types';
|
|
2
|
-
import { LoaderDefinitionFunction } from
|
|
2
|
+
import type { LoaderDefinitionFunction } from '@rspack/core';
|
|
3
3
|
declare const loaderModule: Plugin.LoaderDefinition<Parameters<LoaderDefinitionFunction>, {}>;
|
|
4
4
|
export default loaderModule;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/rspack-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6-beta.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -13,22 +13,25 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@rspack/core": "0.5.1",
|
|
17
16
|
"loader-utils": "^2.0.4",
|
|
18
17
|
"lodash": "^4.17.21",
|
|
19
|
-
"@rsdoctor/
|
|
20
|
-
"@rsdoctor/
|
|
21
|
-
"@rsdoctor/
|
|
18
|
+
"@rsdoctor/sdk": "0.1.6-beta.0",
|
|
19
|
+
"@rsdoctor/graph": "0.1.6-beta.0",
|
|
20
|
+
"@rsdoctor/core": "0.1.6-beta.0"
|
|
22
21
|
},
|
|
23
22
|
"devDependencies": {
|
|
23
|
+
"@rspack/core": "0.5.1",
|
|
24
24
|
"@types/loader-utils": "^2.0.5",
|
|
25
25
|
"@types/lodash": "^4.14.200",
|
|
26
26
|
"@types/node": "^16",
|
|
27
27
|
"@types/tapable": "2.2.2",
|
|
28
28
|
"tslib": "2.4.1",
|
|
29
29
|
"typescript": "^5.2.2",
|
|
30
|
-
"@rsdoctor/
|
|
31
|
-
"@rsdoctor/
|
|
30
|
+
"@rsdoctor/utils": "0.1.6-beta.0",
|
|
31
|
+
"@rsdoctor/types": "0.1.6-beta.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@rspack/core": "^0.5.1"
|
|
32
35
|
},
|
|
33
36
|
"publishConfig": {
|
|
34
37
|
"access": "public",
|