unplugin-oxc 0.4.5 → 0.4.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.
package/dist/esbuild.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  //#region src/esbuild.ts
4
4
  /**
package/dist/farm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  //#region src/farm.ts
4
4
  /**
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  export { Oxc };
package/dist/rolldown.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  //#region src/rolldown.ts
4
4
  /**
package/dist/rollup.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  //#region src/rollup.ts
4
4
  /**
package/dist/rspack.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  //#region src/rspack.ts
4
4
  /**
@@ -30,6 +30,8 @@ function getModuleFormat(id) {
30
30
  case ".cjs":
31
31
  case ".cts": return "commonjs";
32
32
  case ".json": return "json";
33
+ case ".jsx":
34
+ case ".tsx": return "module";
33
35
  }
34
36
  }
35
37
 
@@ -58,6 +60,7 @@ const Oxc = createUnplugin((rawOptions = {}, { framework }) => {
58
60
  "default"
59
61
  ],
60
62
  builtinModules: true,
63
+ moduleType: true,
61
64
  ...options.resolve
62
65
  });
63
66
  const directory = importer ? path.dirname(importer) : process.cwd();
package/dist/unloader.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  //#region src/unloader.ts
4
4
  /**
package/dist/vite.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  //#region src/vite.ts
4
4
  /**
package/dist/webpack.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Oxc } from "./src-VARAeVoC.js";
1
+ import { Oxc } from "./src-pBkchcHA.js";
2
2
 
3
3
  //#region src/webpack.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unplugin-oxc",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Oxc integration for unplugin.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -63,28 +63,28 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "oxc-minify": "^0.72.2",
67
- "oxc-resolver": "^11.0.0",
68
- "oxc-transform": "^0.72.2",
66
+ "oxc-minify": "^0.75.0",
67
+ "oxc-resolver": "^11.3.0",
68
+ "oxc-transform": "^0.75.0",
69
69
  "unplugin": "^2.3.5",
70
70
  "unplugin-utils": "^0.2.4"
71
71
  },
72
72
  "devDependencies": {
73
- "@sxzz/eslint-config": "^7.0.1",
74
- "@sxzz/prettier-config": "^2.2.1",
73
+ "@sxzz/eslint-config": "^7.0.4",
74
+ "@sxzz/prettier-config": "^2.2.3",
75
75
  "@sxzz/test-utils": "^0.5.6",
76
- "@types/node": "^22.15.29",
77
- "bumpp": "^10.1.1",
78
- "eslint": "^9.28.0",
79
- "prettier": "^3.5.3",
80
- "rollup": "^4.41.1",
76
+ "@types/node": "^24.0.4",
77
+ "bumpp": "^10.2.0",
78
+ "eslint": "^9.29.0",
79
+ "prettier": "^3.6.1",
80
+ "rollup": "^4.44.1",
81
81
  "tinyexec": "^1.0.1",
82
- "tsdown": "^0.12.5",
83
- "tsx": "^4.19.4",
82
+ "tsdown": "^0.12.9",
83
+ "tsx": "^4.20.3",
84
84
  "typescript": "^5.8.3",
85
85
  "unloader": "^0.4.5",
86
- "vite": "^6.3.5",
87
- "vitest": "^3.1.4"
86
+ "vite": "^7.0.0",
87
+ "vitest": "^3.2.4"
88
88
  },
89
89
  "engines": {
90
90
  "node": ">=20.18.0"