unplugin-oxc 0.3.3 → 0.3.4

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/api.d.ts CHANGED
@@ -1 +1 @@
1
- export {}
1
+ export { };
package/dist/esbuild.d.ts CHANGED
@@ -1,6 +1,17 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
- //#region dist/.tsdown-types-es/esbuild.d.ts
3
+ //#region src/esbuild.d.ts
4
+ /**
5
+ * Esbuild plugin
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { build } from 'esbuild'
10
+ * import Oxc from 'unplugin-oxc/esbuild'
11
+ *
12
+ * build({ plugins: [Oxc()] })
13
+ ```
14
+ */
4
15
  /**
5
16
  * Esbuild plugin
6
17
  *
package/dist/farm.d.ts CHANGED
@@ -1,6 +1,19 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
- //#region dist/.tsdown-types-es/farm.d.ts
3
+ //#region src/farm.d.ts
4
+ /**
5
+ * Farm plugin
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * // farm.config.js
10
+ * import Oxc from 'unplugin-oxc/farm'
11
+ *
12
+ * export default {
13
+ * plugins: [Oxc()],
14
+ * }
15
+ * ```
16
+ */
4
17
  /**
5
18
  * Farm plugin
6
19
  *
@@ -1,10 +1,10 @@
1
- import { UnpluginInstance } from "unplugin";
2
- import { MinifyOptions } from "oxc-minify";
3
1
  import { NapiResolveOptions } from "oxc-resolver";
4
2
  import { TransformOptions } from "oxc-transform";
3
+ import { UnpluginInstance } from "unplugin";
5
4
  import { FilterPattern } from "unplugin-utils";
5
+ import { MinifyOptions } from "oxc-minify";
6
6
 
7
- //#region dist/.tsdown-types-es/core/options.d.ts
7
+ //#region src/core/options.d.ts
8
8
  interface Options {
9
9
  /**
10
10
  * @default [/\.[cm]?[jt]sx?$/],
@@ -40,8 +40,8 @@ interface Options {
40
40
  }
41
41
 
42
42
  //#endregion
43
- //#region dist/.tsdown-types-es/index.d.ts
43
+ //#region src/index.d.ts
44
44
  declare const Oxc: UnpluginInstance<Options | undefined, false>;
45
45
 
46
46
  //#endregion
47
- export { Oxc };
47
+ export { Oxc as Oxc$1 };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
3
  export { Oxc };
@@ -1,6 +1,19 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
- //#region dist/.tsdown-types-es/rolldown.d.ts
3
+ //#region src/rolldown.d.ts
4
+ /**
5
+ * Rolldown plugin
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * // rolldown.config.js
10
+ * import Oxc from 'unplugin-oxc/rolldown'
11
+ *
12
+ * export default {
13
+ * plugins: [Oxc()],
14
+ * }
15
+ * ```
16
+ */
4
17
  /**
5
18
  * Rolldown plugin
6
19
  *
package/dist/rollup.d.ts CHANGED
@@ -1,6 +1,19 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
- //#region dist/.tsdown-types-es/rollup.d.ts
3
+ //#region src/rollup.d.ts
4
+ /**
5
+ * Rollup plugin
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * // rollup.config.js
10
+ * import Oxc from 'unplugin-oxc/rollup'
11
+ *
12
+ * export default {
13
+ * plugins: [Oxc()],
14
+ * }
15
+ * ```
16
+ */
4
17
  /**
5
18
  * Rollup plugin
6
19
  *
package/dist/rspack.d.ts CHANGED
@@ -1,6 +1,19 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
- //#region dist/.tsdown-types-es/rspack.d.ts
3
+ //#region src/rspack.d.ts
4
+ /**
5
+ * Rspack plugin
6
+ *
7
+ * @example
8
+ * ```js
9
+ * // rspack.config.js
10
+ * import Oxc from 'unplugin-oxc/rspack'
11
+ *
12
+ * default export {
13
+ * plugins: [Oxc()],
14
+ * }
15
+ * ```
16
+ */
4
17
  /**
5
18
  * Rspack plugin
6
19
  *
@@ -1,6 +1,19 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
- //#region dist/.tsdown-types-es/unloader.d.ts
3
+ //#region src/unloader.d.ts
4
+ /**
5
+ * Unloader plugin
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * // unloader.config.js
10
+ * import Oxc from 'unplugin-oxc/unloader'
11
+ *
12
+ * export default {
13
+ * plugins: [Oxc()],
14
+ * }
15
+ * ```
16
+ */
4
17
  /**
5
18
  * Unloader plugin
6
19
  *
package/dist/vite.d.ts CHANGED
@@ -1,6 +1,19 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
- //#region dist/.tsdown-types-es/vite.d.ts
3
+ //#region src/vite.d.ts
4
+ /**
5
+ * Vite plugin
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * // vite.config.ts
10
+ * import Oxc from 'unplugin-oxc/vite'
11
+ *
12
+ * export default defineConfig({
13
+ * plugins: [Oxc()],
14
+ * })
15
+ * ```
16
+ */
4
17
  /**
5
18
  * Vite plugin
6
19
  *
package/dist/webpack.d.ts CHANGED
@@ -1,6 +1,19 @@
1
- import { Oxc } from "./index.d-BAysxhHZ.js";
1
+ import { Oxc$1 as Oxc } from "./index.d-CoyCeNoL.js";
2
2
 
3
- //#region dist/.tsdown-types-es/webpack.d.ts
3
+ //#region src/webpack.d.ts
4
+ /**
5
+ * Webpack plugin
6
+ *
7
+ * @example
8
+ * ```js
9
+ * // webpack.config.js
10
+ * import Oxc from 'unplugin-oxc/webpack'
11
+ *
12
+ * default export {
13
+ * plugins: [Oxc()],
14
+ * }
15
+ * ```
16
+ */
4
17
  /**
5
18
  * Webpack plugin
6
19
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unplugin-oxc",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Oxc integration for unplugin.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -63,27 +63,27 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "oxc-minify": "^0.62.0",
67
- "oxc-resolver": "^5.1.0",
68
- "oxc-transform": "^0.62.0",
69
- "unplugin": "^2.2.2",
66
+ "oxc-minify": "^0.64.0",
67
+ "oxc-resolver": "^5.3.0",
68
+ "oxc-transform": "^0.64.0",
69
+ "unplugin": "^2.3.2",
70
70
  "unplugin-utils": "^0.2.4"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@sxzz/eslint-config": "^6.1.1",
74
74
  "@sxzz/prettier-config": "^2.2.1",
75
- "@sxzz/test-utils": "^0.5.4",
76
- "@types/node": "^22.14.0",
75
+ "@sxzz/test-utils": "^0.5.5",
76
+ "@types/node": "^22.14.1",
77
77
  "bumpp": "^10.1.0",
78
- "eslint": "^9.23.0",
78
+ "eslint": "^9.25.0",
79
79
  "prettier": "^3.5.3",
80
- "rollup": "^4.39.0",
80
+ "rollup": "^4.40.0",
81
81
  "tinyexec": "^1.0.1",
82
- "tsdown": "^0.7.2",
82
+ "tsdown": "^0.9.0",
83
83
  "tsx": "^4.19.3",
84
- "typescript": "^5.8.2",
84
+ "typescript": "^5.8.3",
85
85
  "unloader": "^0.4.3",
86
- "vite": "^6.2.5",
86
+ "vite": "^6.3.2",
87
87
  "vitest": "^3.1.1"
88
88
  },
89
89
  "engines": {