@vizejs/unplugin 0.423.2 → 0.424.0
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/babel.cjs +1 -1
- package/dist/babel.d.cts +1 -1
- package/dist/babel.d.mts +1 -1
- package/dist/babel.mjs +1 -1
- package/dist/esbuild.cjs +1 -1
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.mts +1 -1
- package/dist/esbuild.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/rolldown.cjs +1 -1
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.mts +1 -1
- package/dist/rolldown.mjs +1 -1
- package/dist/rollup.cjs +1 -1
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.mts +1 -1
- package/dist/rollup.mjs +1 -1
- package/dist/{types-DsKSQdDW.d.cts → types-2ckklscg.d.cts} +2 -0
- package/dist/{types-DsKSQdDW.d.mts → types-2ckklscg.d.mts} +2 -0
- package/dist/{unplugin-hStYH29E.cjs → unplugin-CVX51sBt.cjs} +6 -0
- package/dist/{unplugin-t9rNMB4Y.mjs → unplugin-CreP_VP8.mjs} +6 -0
- package/dist/webpack-cjs.d.cts +1 -1
- package/dist/webpack-cjs.d.mts +1 -1
- package/dist/webpack.cjs +1 -1
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.mts +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +2 -2
package/dist/babel.cjs
CHANGED
package/dist/babel.d.cts
CHANGED
package/dist/babel.d.mts
CHANGED
package/dist/babel.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createFilter, i as generateOutput, r as compileVueModule, t as normalizeOptions } from "./unplugin-
|
|
1
|
+
import { a as createFilter, i as generateOutput, r as compileVueModule, t as normalizeOptions } from "./unplugin-CreP_VP8.mjs";
|
|
2
2
|
//#region src/babel.ts
|
|
3
3
|
function vizeBabelPlugin(_api, rawOptions = {}) {
|
|
4
4
|
const options = normalizeOptions(rawOptions);
|
package/dist/esbuild.cjs
CHANGED
package/dist/esbuild.d.cts
CHANGED
package/dist/esbuild.d.mts
CHANGED
package/dist/esbuild.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2,6 +2,6 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_unplugin = require("./unplugin-
|
|
5
|
+
const require_unplugin = require("./unplugin-CVX51sBt.cjs");
|
|
6
6
|
exports.default = require_unplugin.vizeUnplugin;
|
|
7
7
|
exports.vizeUnplugin = require_unplugin.vizeUnplugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as VizeVueVersion, n as VizeCompatibilityOptions, r as VizeUnpluginOptions, t as MacroArtifact } from "./types-
|
|
1
|
+
import { i as VizeVueVersion, n as VizeCompatibilityOptions, r as VizeUnpluginOptions, t as MacroArtifact } from "./types-2ckklscg.cjs";
|
|
2
2
|
import { Compiler } from "webpack";
|
|
3
3
|
|
|
4
4
|
//#region src/unplugin.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as VizeVueVersion, n as VizeCompatibilityOptions, r as VizeUnpluginOptions, t as MacroArtifact } from "./types-
|
|
1
|
+
import { i as VizeVueVersion, n as VizeCompatibilityOptions, r as VizeUnpluginOptions, t as MacroArtifact } from "./types-2ckklscg.mjs";
|
|
2
2
|
import { Compiler } from "webpack";
|
|
3
3
|
|
|
4
4
|
//#region src/unplugin.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as vizeUnplugin } from "./unplugin-
|
|
1
|
+
import { n as vizeUnplugin } from "./unplugin-CreP_VP8.mjs";
|
|
2
2
|
export { vizeUnplugin as default, vizeUnplugin };
|
package/dist/rolldown.cjs
CHANGED
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VizeUnpluginOptions } from "./types-
|
|
1
|
+
import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/rolldown.d.ts
|
|
4
4
|
declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").RollupPlugin<any> | import("unplugin").RollupPlugin<any>[];
|
package/dist/rolldown.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VizeUnpluginOptions } from "./types-
|
|
1
|
+
import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/rolldown.d.ts
|
|
4
4
|
declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").RollupPlugin<any> | import("unplugin").RollupPlugin<any>[];
|
package/dist/rolldown.mjs
CHANGED
package/dist/rollup.cjs
CHANGED
package/dist/rollup.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VizeUnpluginOptions } from "./types-
|
|
1
|
+
import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/rollup.d.ts
|
|
4
4
|
declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").RollupPlugin<any> | import("unplugin").RollupPlugin<any>[];
|
package/dist/rollup.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VizeUnpluginOptions } from "./types-
|
|
1
|
+
import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/rollup.d.ts
|
|
4
4
|
declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").RollupPlugin<any> | import("unplugin").RollupPlugin<any>[];
|
package/dist/rollup.mjs
CHANGED
|
@@ -19,6 +19,8 @@ interface VizeUnpluginOptions {
|
|
|
19
19
|
vapor?: boolean;
|
|
20
20
|
experimentalInTagComments?: boolean;
|
|
21
21
|
experimentalPatternedTemplate?: boolean;
|
|
22
|
+
experimentalSelfComponent?: boolean;
|
|
23
|
+
experimentalStrictSlotChildren?: boolean;
|
|
22
24
|
experimentalServerScript?: boolean;
|
|
23
25
|
/**
|
|
24
26
|
* Default output mode for `.jsx`/`.tsx` components without a `"use vue:*"`
|
|
@@ -19,6 +19,8 @@ interface VizeUnpluginOptions {
|
|
|
19
19
|
vapor?: boolean;
|
|
20
20
|
experimentalInTagComments?: boolean;
|
|
21
21
|
experimentalPatternedTemplate?: boolean;
|
|
22
|
+
experimentalSelfComponent?: boolean;
|
|
23
|
+
experimentalStrictSlotChildren?: boolean;
|
|
22
24
|
experimentalServerScript?: boolean;
|
|
23
25
|
/**
|
|
24
26
|
* Default output mode for `.jsx`/`.tsx` components without a `"use vue:*"`
|
|
@@ -174,6 +174,8 @@ function buildSignature(options) {
|
|
|
174
174
|
options.templateSyntax,
|
|
175
175
|
options.experimentalInTagComments ? "1" : "0",
|
|
176
176
|
options.experimentalPatternedTemplate ? "1" : "0",
|
|
177
|
+
options.experimentalSelfComponent ? "1" : "0",
|
|
178
|
+
options.experimentalStrictSlotChildren ? "1" : "0",
|
|
177
179
|
options.experimentalServerScript ? "1" : "0",
|
|
178
180
|
options.sourceMap ? "1" : "0",
|
|
179
181
|
options.mode,
|
|
@@ -207,6 +209,8 @@ function compileVueModule(filePath, source, options, cache) {
|
|
|
207
209
|
templateSyntax: options.templateSyntax,
|
|
208
210
|
experimentalInTagComments: options.experimentalInTagComments,
|
|
209
211
|
experimentalPatternedTemplate: options.experimentalPatternedTemplate,
|
|
212
|
+
experimentalSelfComponent: options.experimentalSelfComponent,
|
|
213
|
+
experimentalStrictSlotChildren: options.experimentalStrictSlotChildren,
|
|
210
214
|
experimentalServerScript: options.experimentalServerScript,
|
|
211
215
|
runtimeModuleName: options.runtimeModuleName,
|
|
212
216
|
runtimeGlobalName: options.runtimeGlobalName,
|
|
@@ -362,6 +366,8 @@ function normalizeOptions(rawOptions = {}) {
|
|
|
362
366
|
vapor: rawOptions.vapor ?? false,
|
|
363
367
|
experimentalInTagComments: rawOptions.experimentalInTagComments ?? false,
|
|
364
368
|
experimentalPatternedTemplate: rawOptions.experimentalPatternedTemplate ?? false,
|
|
369
|
+
experimentalSelfComponent: rawOptions.experimentalSelfComponent ?? false,
|
|
370
|
+
experimentalStrictSlotChildren: rawOptions.experimentalStrictSlotChildren ?? false,
|
|
365
371
|
experimentalServerScript: rawOptions.experimentalServerScript ?? false,
|
|
366
372
|
jsxMode: rawOptions.jsxMode,
|
|
367
373
|
jsxCompat: rawOptions.jsxCompat,
|
|
@@ -151,6 +151,8 @@ function buildSignature(options) {
|
|
|
151
151
|
options.templateSyntax,
|
|
152
152
|
options.experimentalInTagComments ? "1" : "0",
|
|
153
153
|
options.experimentalPatternedTemplate ? "1" : "0",
|
|
154
|
+
options.experimentalSelfComponent ? "1" : "0",
|
|
155
|
+
options.experimentalStrictSlotChildren ? "1" : "0",
|
|
154
156
|
options.experimentalServerScript ? "1" : "0",
|
|
155
157
|
options.sourceMap ? "1" : "0",
|
|
156
158
|
options.mode,
|
|
@@ -184,6 +186,8 @@ function compileVueModule(filePath, source, options, cache) {
|
|
|
184
186
|
templateSyntax: options.templateSyntax,
|
|
185
187
|
experimentalInTagComments: options.experimentalInTagComments,
|
|
186
188
|
experimentalPatternedTemplate: options.experimentalPatternedTemplate,
|
|
189
|
+
experimentalSelfComponent: options.experimentalSelfComponent,
|
|
190
|
+
experimentalStrictSlotChildren: options.experimentalStrictSlotChildren,
|
|
187
191
|
experimentalServerScript: options.experimentalServerScript,
|
|
188
192
|
runtimeModuleName: options.runtimeModuleName,
|
|
189
193
|
runtimeGlobalName: options.runtimeGlobalName,
|
|
@@ -339,6 +343,8 @@ function normalizeOptions(rawOptions = {}) {
|
|
|
339
343
|
vapor: rawOptions.vapor ?? false,
|
|
340
344
|
experimentalInTagComments: rawOptions.experimentalInTagComments ?? false,
|
|
341
345
|
experimentalPatternedTemplate: rawOptions.experimentalPatternedTemplate ?? false,
|
|
346
|
+
experimentalSelfComponent: rawOptions.experimentalSelfComponent ?? false,
|
|
347
|
+
experimentalStrictSlotChildren: rawOptions.experimentalStrictSlotChildren ?? false,
|
|
342
348
|
experimentalServerScript: rawOptions.experimentalServerScript ?? false,
|
|
343
349
|
jsxMode: rawOptions.jsxMode,
|
|
344
350
|
jsxCompat: rawOptions.jsxCompat,
|
package/dist/webpack-cjs.d.cts
CHANGED
package/dist/webpack-cjs.d.mts
CHANGED
package/dist/webpack.cjs
CHANGED
package/dist/webpack.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VizeUnpluginOptions } from "./types-
|
|
1
|
+
import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/webpack.d.ts
|
|
4
4
|
declare const _default: (options?: VizeUnpluginOptions | undefined) => import("webpack").WebpackPluginInstance;
|
package/dist/webpack.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VizeUnpluginOptions } from "./types-
|
|
1
|
+
import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/webpack.d.ts
|
|
4
4
|
declare const _default: (options?: VizeUnpluginOptions | undefined) => import("webpack").WebpackPluginInstance;
|
package/dist/webpack.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/unplugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.424.0",
|
|
4
4
|
"description": "Experimental Vue SFC integrations for Rollup, Rolldown, Webpack, esbuild, and Babel powered by Vize",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"babel",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@vizejs/native": "0.
|
|
71
|
+
"@vizejs/native": "0.424.0",
|
|
72
72
|
"oxc-transform": "0.144.0",
|
|
73
73
|
"unplugin": "3.3.0"
|
|
74
74
|
},
|