@rsdoctor/rspack-plugin 1.3.12 → 1.3.13-beta.1

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/index.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  const __rslib_import_meta_url__ = 'undefined' == typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
3
3
  var __webpack_modules__ = {
4
4
  "./package.json": function(module) {
5
- module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.12","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"1.6.5","@types/node":"^22.8.1","@types/tapable":"2.2.7","tslib":"2.8.1","typescript":"^5.9.2"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
5
+ module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.13-beta.1","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"1.6.5","@types/node":"^22.8.1","@types/tapable":"2.2.7","tslib":"2.8.1","typescript":"^5.9.2"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
6
6
  }
7
7
  }, __webpack_module_cache__ = {};
8
8
  function __webpack_require__(moduleId) {
@@ -82,7 +82,7 @@ for(var __webpack_i__ in (()=>{
82
82
  stage: pluginTapPostOptions.stage + 100
83
83
  }, this.done.bind(this, compiler)), new plugins_namespaceObject.InternalSummaryPlugin(this).apply(compiler), this.options.features.loader && (new build_utils_namespaceObject.Loader.ProbeLoaderPlugin().apply(compiler), this.sdk.addClientRoutes([
84
84
  types_namespaceObject.Manifest.RsdoctorManifestClientRoutes.WebpackLoaders
85
- ]), common_namespaceObject.Loader.isVue(compiler) || new plugins_namespaceObject.InternalLoaderPlugin(this).apply(compiler)), this.options.features.plugins && new plugins_namespaceObject.InternalPluginsPlugin(this).apply(compiler), this.options.features.bundle && (new plugins_namespaceObject.InternalBundlePlugin(this).apply(compiler), new plugins_namespaceObject.InternalBundleTagPlugin(this).apply(compiler)), this.options.features.resolver && new plugins_namespaceObject.InternalResolverPlugin(this).apply(compiler), this.options.features.resolver && logger_namespaceObject.logger.info(logger_namespaceObject.chalk.yellow('Rspack currently does not support Resolver capabilities.')), new plugins_namespaceObject.InternalRulesPlugin(this).apply(compiler), new plugins_namespaceObject.InternalErrorReporterPlugin(this).apply(compiler);
85
+ ]), common_namespaceObject.Loader.isVue(compiler) || new plugins_namespaceObject.InternalLoaderPlugin(this).apply(compiler)), this.options.features.plugins && new plugins_namespaceObject.InternalPluginsPlugin(this).apply(compiler), this.options.features.bundle && (new plugins_namespaceObject.InternalBundlePlugin(this).apply(compiler), new plugins_namespaceObject.InternalBundleTagPlugin(this).apply(compiler)), this.options.features.resolver && new plugins_namespaceObject.InternalResolverPlugin(this).apply(compiler), new plugins_namespaceObject.InternalRulesPlugin(this).apply(compiler), new plugins_namespaceObject.InternalErrorReporterPlugin(this).apply(compiler);
86
86
  let RsdoctorRspackNativePlugin = compiler.webpack.experiments?.RsdoctorPlugin;
87
87
  if (RsdoctorRspackNativePlugin) {
88
88
  logger_namespaceObject.logger.debug('[RspackNativePlugin] Enabled');
package/dist/index.js CHANGED
@@ -6,10 +6,10 @@ import { Constants, Manifest, SDK } from "@rsdoctor/types";
6
6
  import path from "path";
7
7
  import { ModuleGraph } from "@rsdoctor/graph";
8
8
  import { Loader as common_Loader } from "@rsdoctor/utils/common";
9
- import { chalk, logger, time, timeEnd } from "@rsdoctor/utils/logger";
9
+ import { logger, time, timeEnd } from "@rsdoctor/utils/logger";
10
10
  var __webpack_modules__ = {
11
11
  "./package.json": function(module) {
12
- module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.12","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"1.6.5","@types/node":"^22.8.1","@types/tapable":"2.2.7","tslib":"2.8.1","typescript":"^5.9.2"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
12
+ module.exports = JSON.parse('{"name":"@rsdoctor/rspack-plugin","version":"1.3.13-beta.1","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/rspack-plugin"},"license":"MIT","main":"dist/index.cjs","types":"dist/index.d.ts","files":["dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"type":"module","scripts":{"dev":"npm run start","start":"rslib build -w","build":"rslib build","test":"rstest run"},"dependencies":{"@rsdoctor/core":"workspace:*","@rsdoctor/graph":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*"},"devDependencies":{"@rspack/core":"1.6.5","@types/node":"^22.8.1","@types/tapable":"2.2.7","tslib":"2.8.1","typescript":"^5.9.2"},"peerDependencies":{"@rspack/core":"*"},"peerDependenciesMeta":{"@rspack/core":{"optional":true}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
13
13
  }
14
14
  }, __webpack_module_cache__ = {};
15
15
  let pluginTapName = 'RsdoctorRspackPlugin', pluginTapPostOptions = {
@@ -61,7 +61,7 @@ class RsdoctorRspackPlugin {
61
61
  stage: pluginTapPostOptions.stage + 100
62
62
  }, this.done.bind(this, compiler)), new InternalSummaryPlugin(this).apply(compiler), this.options.features.loader && (new Loader.ProbeLoaderPlugin().apply(compiler), this.sdk.addClientRoutes([
63
63
  Manifest.RsdoctorManifestClientRoutes.WebpackLoaders
64
- ]), common_Loader.isVue(compiler) || new InternalLoaderPlugin(this).apply(compiler)), this.options.features.plugins && new InternalPluginsPlugin(this).apply(compiler), this.options.features.bundle && (new InternalBundlePlugin(this).apply(compiler), new InternalBundleTagPlugin(this).apply(compiler)), this.options.features.resolver && new InternalResolverPlugin(this).apply(compiler), this.options.features.resolver && logger.info(chalk.yellow('Rspack currently does not support Resolver capabilities.')), new InternalRulesPlugin(this).apply(compiler), new InternalErrorReporterPlugin(this).apply(compiler);
64
+ ]), common_Loader.isVue(compiler) || new InternalLoaderPlugin(this).apply(compiler)), this.options.features.plugins && new InternalPluginsPlugin(this).apply(compiler), this.options.features.bundle && (new InternalBundlePlugin(this).apply(compiler), new InternalBundleTagPlugin(this).apply(compiler)), this.options.features.resolver && new InternalResolverPlugin(this).apply(compiler), new InternalRulesPlugin(this).apply(compiler), new InternalErrorReporterPlugin(this).apply(compiler);
65
65
  let RsdoctorRspackNativePlugin = compiler.webpack.experiments?.RsdoctorPlugin;
66
66
  if (RsdoctorRspackNativePlugin) {
67
67
  logger.debug('[RspackNativePlugin] Enabled');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/rspack-plugin",
3
- "version": "1.3.12",
3
+ "version": "1.3.13-beta.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -21,11 +21,11 @@
21
21
  },
22
22
  "type": "module",
23
23
  "dependencies": {
24
- "@rsdoctor/core": "1.3.12",
25
- "@rsdoctor/graph": "1.3.12",
26
- "@rsdoctor/types": "1.3.12",
27
- "@rsdoctor/sdk": "1.3.12",
28
- "@rsdoctor/utils": "1.3.12"
24
+ "@rsdoctor/core": "1.3.13-beta.1",
25
+ "@rsdoctor/graph": "1.3.13-beta.1",
26
+ "@rsdoctor/sdk": "1.3.13-beta.1",
27
+ "@rsdoctor/utils": "1.3.13-beta.1",
28
+ "@rsdoctor/types": "1.3.13-beta.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@rspack/core": "1.6.5",