@rsdoctor/webpack-plugin 0.4.10 → 0.4.11

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.
@@ -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;AAIjD,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;CAuB/D"}
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;AAKjD,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;CAgC/D"}
package/dist/multiple.js CHANGED
@@ -23,6 +23,7 @@ __export(multiple_exports, {
23
23
  module.exports = __toCommonJS(multiple_exports);
24
24
  var import_sdk = require("@rsdoctor/sdk");
25
25
  var import_plugin = require("./plugin");
26
+ var import_plugins = require("@rsdoctor/core/plugins");
26
27
  let globalController;
27
28
  class RsdoctorWebpackMultiplePlugin extends import_plugin.RsdoctorWebpackPlugin {
28
29
  constructor(options = {}) {
@@ -34,10 +35,18 @@ class RsdoctorWebpackMultiplePlugin extends import_plugin.RsdoctorWebpackPlugin
34
35
  globalController = controller2;
35
36
  return controller2;
36
37
  })();
38
+ const normallizedOptions = (0, import_plugins.normalizeUserConfig)(options);
37
39
  const instance = controller.createSlave({
38
40
  name: options.name || "Builder",
39
41
  stage: options.stage,
40
- extraConfig: { disableTOSUpload: options.disableTOSUpload || false }
42
+ extraConfig: {
43
+ disableTOSUpload: normallizedOptions.disableTOSUpload || false,
44
+ innerClientPath: normallizedOptions.innerClientPath,
45
+ printLog: normallizedOptions.printLog,
46
+ mode: normallizedOptions.mode ? normallizedOptions.mode : void 0,
47
+ brief: normallizedOptions.brief
48
+ },
49
+ type: normallizedOptions.reportCodeType
41
50
  });
42
51
  super({
43
52
  ...options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/webpack-plugin",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -15,18 +15,18 @@
15
15
  "dependencies": {
16
16
  "fs-extra": "^11.1.1",
17
17
  "lodash": "^4.17.21",
18
- "@rsdoctor/graph": "0.4.10",
19
- "@rsdoctor/core": "0.4.10",
20
- "@rsdoctor/sdk": "0.4.10",
21
- "@rsdoctor/utils": "0.4.10",
22
- "@rsdoctor/types": "0.4.10"
18
+ "@rsdoctor/core": "0.4.11",
19
+ "@rsdoctor/graph": "0.4.11",
20
+ "@rsdoctor/sdk": "0.4.11",
21
+ "@rsdoctor/types": "0.4.11",
22
+ "@rsdoctor/utils": "0.4.11"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/fs-extra": "^11.0.4",
26
26
  "@types/lodash": "^4.17.13",
27
27
  "@types/node": "^16",
28
28
  "@types/tapable": "2.2.7",
29
- "tslib": "2.7.0",
29
+ "tslib": "2.8.1",
30
30
  "typescript": "^5.2.2",
31
31
  "webpack": "^5.95.0"
32
32
  },