@vue-jsx-vapor/macros 3.2.12 → 3.2.13

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/nuxt.cjs CHANGED
@@ -10,7 +10,7 @@ require("@nuxt/schema");
10
10
  //#region src/nuxt.ts
11
11
  var nuxt_default = (0, _nuxt_kit.defineNuxtModule)({
12
12
  meta: {
13
- name: "nuxt-vue-jsx-vapor",
13
+ name: "nuxt-vue-jsx-vapor-macros",
14
14
  configKey: "unpluginStarter"
15
15
  },
16
16
  setup(options) {
package/dist/nuxt.js CHANGED
@@ -5,7 +5,7 @@ import "@nuxt/schema";
5
5
  //#region src/nuxt.ts
6
6
  var nuxt_default = defineNuxtModule({
7
7
  meta: {
8
- name: "nuxt-vue-jsx-vapor",
8
+ name: "nuxt-vue-jsx-vapor-macros",
9
9
  configKey: "unpluginStarter"
10
10
  },
11
11
  setup(options) {
@@ -0,0 +1,16 @@
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
4
+ });
5
+ const require_index = require("./index.cjs");
6
+ //#region src/rsbuild.ts
7
+ var rsbuild_default = (options = {}) => ({
8
+ name: "rsbuild:vue-jsx-vapor-macros",
9
+ setup(api) {
10
+ api.modifyBundlerChain((chain) => {
11
+ chain.plugin("vue-jsx-vapor-macros").use(require_index.default.rspack(options));
12
+ });
13
+ }
14
+ });
15
+ //#endregion
16
+ exports.default = rsbuild_default;
@@ -0,0 +1,8 @@
1
+ import { n as Options } from "./options-qs66-MV7.cjs";
2
+
3
+ //#region src/rsbuild.d.ts
4
+ declare const _default: (options?: Options) => {
5
+ name: string;
6
+ setup(api: any): void;
7
+ };
8
+ export = _default;
@@ -0,0 +1,9 @@
1
+ import { n as Options } from "./options-CtTcew0x.js";
2
+
3
+ //#region src/rsbuild.d.ts
4
+ declare const _default: (options?: Options) => {
5
+ name: string;
6
+ setup(api: any): void;
7
+ };
8
+ //#endregion
9
+ export { _default as default };
@@ -0,0 +1,12 @@
1
+ import unplugin from "./index.js";
2
+ //#region src/rsbuild.ts
3
+ var rsbuild_default = (options = {}) => ({
4
+ name: "rsbuild:vue-jsx-vapor-macros",
5
+ setup(api) {
6
+ api.modifyBundlerChain((chain) => {
7
+ chain.plugin("vue-jsx-vapor-macros").use(unplugin.rspack(options));
8
+ });
9
+ }
10
+ });
11
+ //#endregion
12
+ export { rsbuild_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-jsx-vapor/macros",
3
3
  "type": "module",
4
- "version": "3.2.12",
4
+ "version": "3.2.13",
5
5
  "description": "Macros for Vue JSX Vapor",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/vuejs/vue-jsx-vapor#readme",
@@ -38,6 +38,12 @@
38
38
  "import": "./dist/rspack.js",
39
39
  "require": "./dist/rspack.cjs"
40
40
  },
41
+ "./rsbuild": {
42
+ "types": "./dist/rsbuild.d.ts",
43
+ "jsx-vapor-dev": "./src/rsbuild.ts",
44
+ "import": "./dist/rsbuild.js",
45
+ "require": "./dist/rsbuild.cjs"
46
+ },
41
47
  "./vite": {
42
48
  "types": "./dist/vite.d.ts",
43
49
  "jsx-vapor-dev": "./src/vite.ts",