@rsdoctor/webpack-plugin 0.4.11 → 0.4.13
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/multiple.d.ts +2 -0
- package/dist/multiple.d.ts.map +1 -1
- package/dist/multiple.js +6 -0
- package/package.json +6 -6
package/dist/multiple.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { Linter } from '@rsdoctor/types';
|
|
2
2
|
import type { RsdoctorMultiplePluginOptions } from '@rsdoctor/core';
|
|
3
3
|
import { RsdoctorWebpackPlugin } from './plugin';
|
|
4
|
+
import type { Compiler } from 'webpack';
|
|
4
5
|
export declare class RsdoctorWebpackMultiplePlugin<Rules extends Linter.ExtendRuleData[]> extends RsdoctorWebpackPlugin<Rules> {
|
|
5
6
|
private controller;
|
|
6
7
|
constructor(options?: RsdoctorMultiplePluginOptions<Rules>);
|
|
8
|
+
apply(compiler: Compiler): void;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=multiple.d.ts.map
|
package/dist/multiple.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiple.d.ts","sourceRoot":"","sources":["../src/multiple.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"multiple.d.ts","sourceRoot":"","sources":["../src/multiple.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,qBAAa,6BAA6B,CACxC,KAAK,SAAS,MAAM,CAAC,cAAc,EAAE,CACrC,SAAQ,qBAAqB,CAAC,KAAK,CAAC;IAEpC,OAAO,CAAC,UAAU,CAAwB;gBAE9B,OAAO,GAAE,6BAA6B,CAAC,KAAK,CAAM;IAiC9D,KAAK,CAAC,QAAQ,EAAE,QAAQ;CAQzB"}
|
package/dist/multiple.js
CHANGED
|
@@ -54,6 +54,12 @@ class RsdoctorWebpackMultiplePlugin extends import_plugin.RsdoctorWebpackPlugin
|
|
|
54
54
|
});
|
|
55
55
|
this.controller = controller;
|
|
56
56
|
}
|
|
57
|
+
apply(compiler) {
|
|
58
|
+
if ("dependencies" in compiler.options) {
|
|
59
|
+
this.sdk.dependencies = compiler.options.dependencies;
|
|
60
|
+
}
|
|
61
|
+
super.apply(compiler);
|
|
62
|
+
}
|
|
57
63
|
}
|
|
58
64
|
// Annotate the CommonJS export names for ESM import in node:
|
|
59
65
|
0 && (module.exports = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/webpack-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.13",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"fs-extra": "^11.1.1",
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
|
-
"@rsdoctor/core": "0.4.
|
|
19
|
-
"@rsdoctor/
|
|
20
|
-
"@rsdoctor/
|
|
21
|
-
"@rsdoctor/types": "0.4.
|
|
22
|
-
"@rsdoctor/
|
|
18
|
+
"@rsdoctor/core": "0.4.13",
|
|
19
|
+
"@rsdoctor/sdk": "0.4.13",
|
|
20
|
+
"@rsdoctor/utils": "0.4.13",
|
|
21
|
+
"@rsdoctor/types": "0.4.13",
|
|
22
|
+
"@rsdoctor/graph": "0.4.13"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/fs-extra": "^11.0.4",
|