@rsdoctor/webpack-plugin 0.1.3 → 0.1.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.js +2 -1
- package/package.json +6 -6
package/dist/plugin.js
CHANGED
|
@@ -42,6 +42,7 @@ var import_path = __toESM(require("path"));
|
|
|
42
42
|
var import_constants = require("./constants");
|
|
43
43
|
var import_resolver = require("./plugins/resolver");
|
|
44
44
|
var import_plugins2 = require("@rsdoctor/core/plugins");
|
|
45
|
+
var import_common = require("@rsdoctor/utils/common");
|
|
45
46
|
class RsdoctorWebpackPlugin {
|
|
46
47
|
constructor(options) {
|
|
47
48
|
this.name = import_constants.pluginTapName;
|
|
@@ -112,7 +113,7 @@ class RsdoctorWebpackPlugin {
|
|
|
112
113
|
(0, import_plugins.setSDK)(this.sdk);
|
|
113
114
|
}
|
|
114
115
|
new import_plugins.InternalSummaryPlugin(this).apply(compiler);
|
|
115
|
-
if (this.options.features.loader) {
|
|
116
|
+
if (this.options.features.loader && !import_common.Loader.isVue(compiler)) {
|
|
116
117
|
new import_plugins.InternalLoaderPlugin(this).apply(compiler);
|
|
117
118
|
}
|
|
118
119
|
if (this.options.features.resolver) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/webpack-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"fs-extra": "^11.1.1",
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
18
|
"webpack": "^5.89.0",
|
|
19
|
-
"@rsdoctor/core": "0.1.
|
|
20
|
-
"@rsdoctor/
|
|
21
|
-
"@rsdoctor/
|
|
22
|
-
"@rsdoctor/utils": "0.1.
|
|
19
|
+
"@rsdoctor/core": "0.1.4",
|
|
20
|
+
"@rsdoctor/graph": "0.1.4",
|
|
21
|
+
"@rsdoctor/sdk": "0.1.4",
|
|
22
|
+
"@rsdoctor/utils": "0.1.4"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/fs-extra": "^11.0.2",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@types/webpack": "5.28.0",
|
|
30
30
|
"tslib": "2.4.1",
|
|
31
31
|
"typescript": "^5.2.2",
|
|
32
|
-
"@rsdoctor/types": "0.1.
|
|
32
|
+
"@rsdoctor/types": "0.1.4"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public",
|