@rsdoctor/webpack-plugin 0.4.3 → 0.4.4
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/plugin.d.ts.map +1 -1
- package/dist/plugin.js +2 -9
- package/package.json +7 -7
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,sBAAsB,EACtB,+BAA+B,EAC/B,4BAA4B,EAC7B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAe,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,sBAAsB,EACtB,+BAA+B,EAC/B,4BAA4B,EAC7B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAe,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAa,MAAM,EAAO,MAAM,iBAAiB,CAAC;AAKzD,OAAO,KAAK,EAAE,QAAQ,EAA8B,MAAM,SAAS,CAAC;AAOpE,qBAAa,qBAAqB,CAAC,KAAK,SAAS,MAAM,CAAC,cAAc,EAAE,CACtE,YAAW,sBAAsB,CAAC,QAAQ,EAAE,KAAK,CAAC;IAElD,SAAgB,IAAI,2BAAiB;IAErC,SAAgB,OAAO,EAAE,+BAA+B,CAAC,KAAK,CAAC,CAAC;IAEhE,SAAgB,GAAG,EAAE,kBAAkB,CAAC;IAExC,SAAgB,gBAAgB,EAAE,OAAO,CAAC;IAEnC,YAAY,EAAE,WAAW,CAAC;IAEjC,OAAO,CAAC,eAAe,CAAS;IAEzB,cAAc,EAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzC,SAAS,CAAC,eAAe,UAAS;IAE3B,UAAU,EAAE,UAAU,CAAC;gBAElB,OAAO,CAAC,EAAE,4BAA4B,CAAC,KAAK,CAAC;IAwBzD,KAAK,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO;IAuD1B,YAAY,aAAc,QAAQ,KAAG,IAAI,CAoC9C;IAEK,SAAS,aAAoB,QAAQ,KAAG,OAAO,CAAC,IAAI,CAAC,CAW1D;IAEF;;;;;OAKG;IACI,+BAA+B,CAAC,QAAQ,EAAE,QAAQ;IAIlD,IAAI,QAAa,OAAO,CAAC,IAAI,CAAC,CA0BnC;CACH"}
|
package/dist/plugin.js
CHANGED
|
@@ -43,7 +43,6 @@ var import_constants = require("./constants");
|
|
|
43
43
|
var import_resolver = require("./plugins/resolver");
|
|
44
44
|
var import_plugins2 = require("@rsdoctor/core/plugins");
|
|
45
45
|
var import_common = require("@rsdoctor/utils/common");
|
|
46
|
-
var import_build_utils = require("@rsdoctor/core/build-utils");
|
|
47
46
|
class RsdoctorWebpackPlugin {
|
|
48
47
|
constructor(options) {
|
|
49
48
|
this.name = import_constants.pluginTapName;
|
|
@@ -139,14 +138,8 @@ class RsdoctorWebpackPlugin {
|
|
|
139
138
|
(0, import_plugins.setSDK)(this.sdk);
|
|
140
139
|
}
|
|
141
140
|
new import_plugins.InternalSummaryPlugin(this).apply(compiler);
|
|
142
|
-
if (this.options.features.loader) {
|
|
143
|
-
new
|
|
144
|
-
this.sdk.addClientRoutes([
|
|
145
|
-
import_types.Manifest.RsdoctorManifestClientRoutes.WebpackLoaders
|
|
146
|
-
]);
|
|
147
|
-
if (!import_common.Loader.isVue(compiler)) {
|
|
148
|
-
new import_plugins.InternalLoaderPlugin(this).apply(compiler);
|
|
149
|
-
}
|
|
141
|
+
if (this.options.features.loader && !import_common.Loader.isVue(compiler)) {
|
|
142
|
+
new import_plugins.InternalLoaderPlugin(this).apply(compiler);
|
|
150
143
|
}
|
|
151
144
|
if (this.options.features.resolver) {
|
|
152
145
|
new import_resolver.InternalResolverPlugin(this).apply(compiler);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/webpack-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
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/sdk": "0.4.
|
|
20
|
-
"@rsdoctor/
|
|
21
|
-
"@rsdoctor/
|
|
22
|
-
"@rsdoctor/types": "0.4.
|
|
18
|
+
"@rsdoctor/core": "0.4.4",
|
|
19
|
+
"@rsdoctor/sdk": "0.4.4",
|
|
20
|
+
"@rsdoctor/graph": "0.4.4",
|
|
21
|
+
"@rsdoctor/utils": "0.4.4",
|
|
22
|
+
"@rsdoctor/types": "0.4.4"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"webpack": "^5.90.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/lodash": "^4.17.7",
|
|
28
28
|
"@types/node": "^16",
|
|
29
29
|
"@types/tapable": "2.2.7",
|
|
30
|
-
"tslib": "2.
|
|
30
|
+
"tslib": "2.7.0",
|
|
31
31
|
"typescript": "^5.2.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|