@vizejs/unplugin 0.287.0 → 0.289.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-BCmaOu8J.d.cts → types-D3or3aSV.d.cts} +3 -0
- package/dist/{types-DYpiCpa6.d.mts → types-DmgrThqW.d.mts} +3 -0
- package/dist/{unplugin-Dl5dRMQa.cjs → unplugin-CfGjNjdl.cjs} +9 -0
- package/dist/{unplugin-BFLTEL4o.mjs → unplugin-uLeammid.mjs} +9 -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-uLeammid.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-CfGjNjdl.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-D3or3aSV.cjs";
|
|
2
2
|
import * as _$unplugin from "unplugin";
|
|
3
3
|
import { Compiler } from "webpack";
|
|
4
4
|
|
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-DmgrThqW.mjs";
|
|
2
2
|
import * as _$unplugin from "unplugin";
|
|
3
3
|
import { Compiler } from "webpack";
|
|
4
4
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as vizeUnplugin } from "./unplugin-
|
|
1
|
+
import { n as vizeUnplugin } from "./unplugin-uLeammid.mjs";
|
|
2
2
|
export { vizeUnplugin as default, vizeUnplugin };
|
package/dist/rolldown.cjs
CHANGED
package/dist/rolldown.d.cts
CHANGED
package/dist/rolldown.d.mts
CHANGED
package/dist/rolldown.mjs
CHANGED
package/dist/rollup.cjs
CHANGED
package/dist/rollup.d.cts
CHANGED
package/dist/rollup.d.mts
CHANGED
package/dist/rollup.mjs
CHANGED
|
@@ -17,6 +17,9 @@ interface VizeUnpluginOptions {
|
|
|
17
17
|
sourceMap?: boolean;
|
|
18
18
|
mode?: "module" | "function";
|
|
19
19
|
vapor?: boolean;
|
|
20
|
+
experimentalInTagComments?: boolean;
|
|
21
|
+
experimentalPatternedTemplate?: boolean;
|
|
22
|
+
experimentalServerScript?: boolean;
|
|
20
23
|
/**
|
|
21
24
|
* Default output mode for `.jsx`/`.tsx` components without a `"use vue:*"`
|
|
22
25
|
* directive. Distinct from `vapor` (which targets `.vue` SFCs). A
|
|
@@ -17,6 +17,9 @@ interface VizeUnpluginOptions {
|
|
|
17
17
|
sourceMap?: boolean;
|
|
18
18
|
mode?: "module" | "function";
|
|
19
19
|
vapor?: boolean;
|
|
20
|
+
experimentalInTagComments?: boolean;
|
|
21
|
+
experimentalPatternedTemplate?: boolean;
|
|
22
|
+
experimentalServerScript?: boolean;
|
|
20
23
|
/**
|
|
21
24
|
* Default output mode for `.jsx`/`.tsx` components without a `"use vue:*"`
|
|
22
25
|
* directive. Distinct from `vapor` (which targets `.vue` SFCs). A
|
|
@@ -171,6 +171,9 @@ function buildSignature(options) {
|
|
|
171
171
|
options.vapor ? "1" : "0",
|
|
172
172
|
options.customRenderer ? "1" : "0",
|
|
173
173
|
options.templateSyntax,
|
|
174
|
+
options.experimentalInTagComments ? "1" : "0",
|
|
175
|
+
options.experimentalPatternedTemplate ? "1" : "0",
|
|
176
|
+
options.experimentalServerScript ? "1" : "0",
|
|
174
177
|
options.sourceMap ? "1" : "0",
|
|
175
178
|
options.mode,
|
|
176
179
|
options.runtimeModuleName,
|
|
@@ -200,6 +203,9 @@ function compileVueModule(filePath, source, options, cache) {
|
|
|
200
203
|
vapor: options.vapor,
|
|
201
204
|
customRenderer: options.customRenderer,
|
|
202
205
|
templateSyntax: options.templateSyntax,
|
|
206
|
+
experimentalInTagComments: options.experimentalInTagComments,
|
|
207
|
+
experimentalPatternedTemplate: options.experimentalPatternedTemplate,
|
|
208
|
+
experimentalServerScript: options.experimentalServerScript,
|
|
203
209
|
runtimeModuleName: options.runtimeModuleName,
|
|
204
210
|
runtimeGlobalName: options.runtimeGlobalName,
|
|
205
211
|
vueVersion: String(options.vueVersion),
|
|
@@ -351,6 +357,9 @@ function normalizeOptions(rawOptions = {}) {
|
|
|
351
357
|
sourceMap: rawOptions.sourceMap ?? !isProduction,
|
|
352
358
|
mode,
|
|
353
359
|
vapor: rawOptions.vapor ?? false,
|
|
360
|
+
experimentalInTagComments: rawOptions.experimentalInTagComments ?? false,
|
|
361
|
+
experimentalPatternedTemplate: rawOptions.experimentalPatternedTemplate ?? false,
|
|
362
|
+
experimentalServerScript: rawOptions.experimentalServerScript ?? false,
|
|
354
363
|
jsxMode: rawOptions.jsxMode,
|
|
355
364
|
customRenderer: rawOptions.customRenderer ?? false,
|
|
356
365
|
templateSyntax,
|
|
@@ -148,6 +148,9 @@ function buildSignature(options) {
|
|
|
148
148
|
options.vapor ? "1" : "0",
|
|
149
149
|
options.customRenderer ? "1" : "0",
|
|
150
150
|
options.templateSyntax,
|
|
151
|
+
options.experimentalInTagComments ? "1" : "0",
|
|
152
|
+
options.experimentalPatternedTemplate ? "1" : "0",
|
|
153
|
+
options.experimentalServerScript ? "1" : "0",
|
|
151
154
|
options.sourceMap ? "1" : "0",
|
|
152
155
|
options.mode,
|
|
153
156
|
options.runtimeModuleName,
|
|
@@ -177,6 +180,9 @@ function compileVueModule(filePath, source, options, cache) {
|
|
|
177
180
|
vapor: options.vapor,
|
|
178
181
|
customRenderer: options.customRenderer,
|
|
179
182
|
templateSyntax: options.templateSyntax,
|
|
183
|
+
experimentalInTagComments: options.experimentalInTagComments,
|
|
184
|
+
experimentalPatternedTemplate: options.experimentalPatternedTemplate,
|
|
185
|
+
experimentalServerScript: options.experimentalServerScript,
|
|
180
186
|
runtimeModuleName: options.runtimeModuleName,
|
|
181
187
|
runtimeGlobalName: options.runtimeGlobalName,
|
|
182
188
|
vueVersion: String(options.vueVersion),
|
|
@@ -328,6 +334,9 @@ function normalizeOptions(rawOptions = {}) {
|
|
|
328
334
|
sourceMap: rawOptions.sourceMap ?? !isProduction,
|
|
329
335
|
mode,
|
|
330
336
|
vapor: rawOptions.vapor ?? false,
|
|
337
|
+
experimentalInTagComments: rawOptions.experimentalInTagComments ?? false,
|
|
338
|
+
experimentalPatternedTemplate: rawOptions.experimentalPatternedTemplate ?? false,
|
|
339
|
+
experimentalServerScript: rawOptions.experimentalServerScript ?? false,
|
|
331
340
|
jsxMode: rawOptions.jsxMode,
|
|
332
341
|
customRenderer: rawOptions.customRenderer ?? false,
|
|
333
342
|
templateSyntax,
|
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
package/dist/webpack.d.mts
CHANGED
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.289.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.289.0",
|
|
72
72
|
"oxc-transform": "0.130.0",
|
|
73
73
|
"unplugin": "3.0.0"
|
|
74
74
|
},
|