@rsdoctor/webpack-plugin 0.3.10 → 0.3.12-alpha.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/plugin.d.ts.map +1 -1
- package/dist/plugin.js +13 -3
- package/package.json +6 -6
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;AACnD,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;AACnD,OAAO,EAAa,MAAM,EAAY,MAAM,iBAAiB,CAAC;AAK9D,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;IAsBzD,KAAK,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO;IA8D1B,YAAY,aAAc,QAAQ,KAAG,IAAI,CAiC9C;IAEK,SAAS,aAAoB,QAAQ,KAAG,OAAO,CAAC,IAAI,CAAC,CAS1D;IAEF;;;;;OAKG;IACI,+BAA+B,CAAC,QAAQ,EAAE,QAAQ;IAIlD,IAAI,QAAa,OAAO,CAAC,IAAI,CAAC,CAYnC;CACH"}
|
package/dist/plugin.js
CHANGED
|
@@ -102,8 +102,11 @@ class RsdoctorWebpackPlugin {
|
|
|
102
102
|
name: import_constants.pluginTapName,
|
|
103
103
|
root: process.cwd(),
|
|
104
104
|
type: this.options.reportCodeType,
|
|
105
|
-
config: {
|
|
106
|
-
|
|
105
|
+
config: {
|
|
106
|
+
disableTOSUpload: this.options.disableTOSUpload,
|
|
107
|
+
innerClientPath: this.options.innerClientPath,
|
|
108
|
+
printLog: this.options.printLog
|
|
109
|
+
}
|
|
107
110
|
});
|
|
108
111
|
this.outsideInstance = Boolean(this.options.sdkInstance);
|
|
109
112
|
this.modulesGraph = new import_graph.ModuleGraph();
|
|
@@ -125,7 +128,14 @@ class RsdoctorWebpackPlugin {
|
|
|
125
128
|
new import_resolver.InternalResolverPlugin(this).apply(compiler);
|
|
126
129
|
}
|
|
127
130
|
if (this.options.features.plugins) {
|
|
128
|
-
|
|
131
|
+
if (import_common.Loader.isVue(compiler)) {
|
|
132
|
+
this.sdk.addClientRoutes([
|
|
133
|
+
import_types.Manifest.RsdoctorManifestClientRoutes.WebpackLoaders
|
|
134
|
+
]);
|
|
135
|
+
new import_plugins.InternalLoaderPlugin(this).apply(compiler);
|
|
136
|
+
} else {
|
|
137
|
+
new import_plugins.InternalPluginsPlugin(this).apply(compiler);
|
|
138
|
+
}
|
|
129
139
|
}
|
|
130
140
|
if (this.options.features.bundle) {
|
|
131
141
|
new import_plugins.InternalBundlePlugin(this).apply(compiler);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/webpack-plugin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12-alpha.0",
|
|
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.3.
|
|
19
|
-
"@rsdoctor/
|
|
20
|
-
"@rsdoctor/
|
|
21
|
-
"@rsdoctor/
|
|
22
|
-
"@rsdoctor/
|
|
18
|
+
"@rsdoctor/core": "0.3.12-alpha.0",
|
|
19
|
+
"@rsdoctor/graph": "0.3.12-alpha.0",
|
|
20
|
+
"@rsdoctor/sdk": "0.3.12-alpha.0",
|
|
21
|
+
"@rsdoctor/types": "0.3.12-alpha.0",
|
|
22
|
+
"@rsdoctor/utils": "0.3.12-alpha.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"webpack": "^5.89.0",
|