@octanejs/rspack-plugin 0.2.5 → 0.2.6

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/plugin.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/rspack-plugin",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@rspack/core": "^2.0.0",
48
- "octane": "^0.14.0"
48
+ "octane": "^0.14.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@rspack/core": "^2.1.4",
@@ -53,7 +53,7 @@
53
53
  "@types/node": "^24.13.3",
54
54
  "css-loader": "6.11.0",
55
55
  "jsdom": "^30.0.1",
56
- "octane": "0.14.0",
56
+ "octane": "0.14.1",
57
57
  "vitest": "^4.1.10"
58
58
  },
59
59
  "scripts": {
package/src/plugin.js CHANGED
@@ -623,6 +623,7 @@ export class OctaneRspackPlugin {
623
623
  };
624
624
  compiler.options.module.rules.push({
625
625
  test: OCTANE_RULE,
626
+ dependency: { not: 'url' },
626
627
  type: 'javascript/auto',
627
628
  enforce: 'pre',
628
629
  use:
@@ -645,6 +646,7 @@ export class OctaneRspackPlugin {
645
646
  if (this.options.transpile !== false) {
646
647
  compiler.options.module.rules.push({
647
648
  test: TYPESCRIPT_RULE,
649
+ dependency: { not: 'url' },
648
650
  type: 'javascript/auto',
649
651
  use: [{ loader: 'builtin:swc-loader', options: { detectSyntax: 'auto' } }],
650
652
  });