@nx/rspack 0.0.0-pr-29314-e664f92 → 0.0.0-pr-29314-bfd9d0c

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nx/rspack",
3
3
  "description": "The Nx Plugin for Rspack contains executors and generators that support building applications using Rspack.",
4
- "version": "0.0.0-pr-29314-e664f92",
4
+ "version": "0.0.0-pr-29314-bfd9d0c",
5
5
  "type": "commonjs",
6
6
  "repository": {
7
7
  "type": "git",
@@ -24,10 +24,10 @@
24
24
  "generators": "./generators.json",
25
25
  "executors": "./executors.json",
26
26
  "dependencies": {
27
- "@nx/js": "0.0.0-pr-29314-e664f92",
28
- "@nx/devkit": "0.0.0-pr-29314-e664f92",
29
- "@nx/web": "0.0.0-pr-29314-e664f92",
30
- "@nx/module-federation": "0.0.0-pr-29314-e664f92",
27
+ "@nx/js": "0.0.0-pr-29314-bfd9d0c",
28
+ "@nx/devkit": "0.0.0-pr-29314-bfd9d0c",
29
+ "@nx/web": "0.0.0-pr-29314-bfd9d0c",
30
+ "@nx/module-federation": "0.0.0-pr-29314-bfd9d0c",
31
31
  "@phenomnomnominal/tsquery": "~5.0.1",
32
32
  "@rspack/core": "^1.1.5",
33
33
  "@rspack/dev-server": "^1.0.9",
@@ -16,11 +16,11 @@ function applyReactConfig(options, config = {}) {
16
16
  config.module.rules.push({
17
17
  test: /\.svg$/i,
18
18
  type: 'asset',
19
- resourceQuery: /react/, // *.svg?react
19
+ resourceQuery: /url/, // *.svg?url
20
20
  }, {
21
21
  test: /\.svg$/i,
22
22
  issuer: /\.[jt]sx?$/,
23
- resourceQuery: { not: [/react/] }, // exclude react component if *.svg?react
23
+ resourceQuery: { not: [/url/] }, // exclude react component if not *.svg?url
24
24
  use: [{ loader: '@svgr/webpack', options: svgrOptions }],
25
25
  });
26
26
  }