@vue-jsx-vapor/macros 2.3.0 → 2.3.2
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.cjs +6 -13
- package/dist/api.d.cts +8 -4
- package/dist/api.d.ts +8 -4
- package/dist/api.js +3 -14
- package/dist/astro.cjs +14 -18
- package/dist/astro.d.cts +4 -3
- package/dist/astro.d.ts +4 -3
- package/dist/astro.js +13 -17
- package/dist/chunk-BCwAaXi7.cjs +31 -0
- package/dist/core-B1Tt-ieP.cjs +438 -0
- package/dist/core-cHgZBgtA.js +377 -0
- package/dist/esbuild.cjs +12 -14
- package/dist/esbuild.d.cts +6 -5
- package/dist/esbuild.d.ts +6 -5
- package/dist/esbuild.js +9 -11
- package/dist/index.cjs +8 -12
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -12
- package/dist/nuxt.cjs +23 -26
- package/dist/nuxt.d.cts +6 -5
- package/dist/nuxt.d.ts +6 -5
- package/dist/nuxt.js +19 -23
- package/dist/options-CNIhAQHD.cjs +27 -0
- package/dist/options-pbSvpKdV.js +20 -0
- package/dist/options.cjs +2 -5
- package/dist/options.d-B3WOiT_L.d.cts +26 -0
- package/dist/options.d-DtyRfe-9.d.ts +26 -0
- package/dist/options.d.cts +2 -23
- package/dist/options.d.ts +2 -23
- package/dist/options.js +3 -6
- package/dist/raw-3ZelnSQR.cjs +62 -0
- package/dist/raw-9SXDNxBH.js +55 -0
- package/dist/raw.cjs +5 -9
- package/dist/raw.d.cts +5 -4
- package/dist/raw.d.ts +5 -4
- package/dist/raw.js +5 -8
- package/dist/rolldown.cjs +12 -14
- package/dist/rolldown.d.cts +4 -3
- package/dist/rolldown.d.ts +4 -3
- package/dist/rolldown.js +9 -11
- package/dist/rollup.cjs +12 -14
- package/dist/rollup.d.cts +6 -5
- package/dist/rollup.d.ts +6 -5
- package/dist/rollup.js +9 -11
- package/dist/rspack.cjs +12 -14
- package/dist/rspack.d.cts +4 -3
- package/dist/rspack.d.ts +4 -3
- package/dist/rspack.js +9 -11
- package/dist/src-BfZoaRPY.js +9 -0
- package/dist/src-DwQLomPw.cjs +16 -0
- package/dist/vite-C5QxH0B9.cjs +13 -0
- package/dist/vite-DPLCEtsm.js +7 -0
- package/dist/vite.cjs +8 -12
- package/dist/vite.d.cts +6 -5
- package/dist/vite.d.ts +6 -5
- package/dist/vite.js +7 -10
- package/dist/volar.cjs +221 -372
- package/dist/volar.d.cts +5 -4
- package/dist/volar.d.ts +5 -4
- package/dist/volar.js +218 -370
- package/dist/webpack-1cYmRdvx.js +7 -0
- package/dist/webpack-B-EPKx0G.cjs +13 -0
- package/dist/webpack.cjs +8 -12
- package/dist/webpack.d.cts +6 -5
- package/dist/webpack.d.ts +6 -5
- package/dist/webpack.js +7 -10
- package/package.json +7 -7
- package/dist/chunk-53TNKVYD.cjs +0 -29
- package/dist/chunk-AUE5EAQA.js +0 -12
- package/dist/chunk-DANY2WQD.js +0 -29
- package/dist/chunk-E5WGUCGE.js +0 -68
- package/dist/chunk-HBVQYNJJ.js +0 -10
- package/dist/chunk-KUKYWPEK.cjs +0 -10
- package/dist/chunk-L26STXZK.cjs +0 -12
- package/dist/chunk-PWA6BBMQ.cjs +0 -10
- package/dist/chunk-SMWNQXL7.js +0 -585
- package/dist/chunk-UAWFIGPX.cjs +0 -68
- package/dist/chunk-ZQ4GVJKX.cjs +0 -585
- package/dist/chunk-ZXJQCFZZ.js +0 -10
package/dist/nuxt.js
CHANGED
|
@@ -1,27 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
7
|
-
import "./chunk-AUE5EAQA.js";
|
|
8
|
-
import "./chunk-E5WGUCGE.js";
|
|
9
|
-
import "./chunk-SMWNQXL7.js";
|
|
10
|
-
import "./chunk-DANY2WQD.js";
|
|
11
|
-
|
|
12
|
-
// src/nuxt.ts
|
|
1
|
+
import "./core-cHgZBgtA.js";
|
|
2
|
+
import "./raw-9SXDNxBH.js";
|
|
3
|
+
import "./options-pbSvpKdV.js";
|
|
4
|
+
import "./src-BfZoaRPY.js";
|
|
5
|
+
import { vite_default } from "./vite-DPLCEtsm.js";
|
|
6
|
+
import { webpack_default } from "./webpack-1cYmRdvx.js";
|
|
13
7
|
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
|
14
8
|
import "@nuxt/schema";
|
|
9
|
+
|
|
10
|
+
//#region src/nuxt.ts
|
|
15
11
|
var nuxt_default = defineNuxtModule({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
meta: {
|
|
13
|
+
name: "nuxt-vue-jsx-vapor",
|
|
14
|
+
configKey: "unpluginStarter"
|
|
15
|
+
},
|
|
16
|
+
setup(options) {
|
|
17
|
+
addVitePlugin(() => vite_default(options));
|
|
18
|
+
addWebpackPlugin(() => webpack_default(options));
|
|
19
|
+
}
|
|
24
20
|
});
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { nuxt_default as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_chunk = require('./chunk-BCwAaXi7.cjs');
|
|
3
|
+
const __vue_macros_common = require_chunk.__toESM(require("@vue-macros/common"));
|
|
4
|
+
|
|
5
|
+
//#region src/options.ts
|
|
6
|
+
function resolveOptions(options) {
|
|
7
|
+
const version = options.version || 3.6;
|
|
8
|
+
return {
|
|
9
|
+
include: [__vue_macros_common.REGEX_SRC_FILE],
|
|
10
|
+
exclude: [__vue_macros_common.REGEX_SETUP_SFC, __vue_macros_common.REGEX_NODE_MODULES],
|
|
11
|
+
...options,
|
|
12
|
+
version,
|
|
13
|
+
defineComponent: { alias: options?.defineComponent?.alias ?? ["defineComponent", "defineVaporComponent"] },
|
|
14
|
+
defineModel: { alias: options?.defineModel?.alias ?? ["defineModel"] },
|
|
15
|
+
defineSlots: { alias: options?.defineSlots?.alias ?? ["defineSlots"] },
|
|
16
|
+
defineExpose: { alias: options?.defineExpose?.alias ?? ["defineExpose"] },
|
|
17
|
+
defineStyle: { alias: options?.defineStyle?.alias ?? ["defineStyle"] }
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
Object.defineProperty(exports, 'resolveOptions', {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () {
|
|
25
|
+
return resolveOptions;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { REGEX_NODE_MODULES, REGEX_SETUP_SFC, REGEX_SRC_FILE } from "@vue-macros/common";
|
|
2
|
+
|
|
3
|
+
//#region src/options.ts
|
|
4
|
+
function resolveOptions(options) {
|
|
5
|
+
const version = options.version || 3.6;
|
|
6
|
+
return {
|
|
7
|
+
include: [REGEX_SRC_FILE],
|
|
8
|
+
exclude: [REGEX_SETUP_SFC, REGEX_NODE_MODULES],
|
|
9
|
+
...options,
|
|
10
|
+
version,
|
|
11
|
+
defineComponent: { alias: options?.defineComponent?.alias ?? ["defineComponent", "defineVaporComponent"] },
|
|
12
|
+
defineModel: { alias: options?.defineModel?.alias ?? ["defineModel"] },
|
|
13
|
+
defineSlots: { alias: options?.defineSlots?.alias ?? ["defineSlots"] },
|
|
14
|
+
defineExpose: { alias: options?.defineExpose?.alias ?? ["defineExpose"] },
|
|
15
|
+
defineStyle: { alias: options?.defineStyle?.alias ?? ["defineStyle"] }
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { resolveOptions };
|
package/dist/options.cjs
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
const require_options = require('./options-CNIhAQHD.cjs');
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
exports.resolveOptions = _chunk53TNKVYDcjs.resolveOptions;
|
|
3
|
+
exports.resolveOptions = require_options.resolveOptions
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseOptions, MarkRequired } from "@vue-macros/common";
|
|
2
|
+
|
|
3
|
+
//#region src/options.d.ts
|
|
4
|
+
type Options = BaseOptions & {
|
|
5
|
+
defineComponent?: {
|
|
6
|
+
alias: string[];
|
|
7
|
+
autoReturnFunction?: boolean;
|
|
8
|
+
};
|
|
9
|
+
defineModel?: {
|
|
10
|
+
alias: string[];
|
|
11
|
+
};
|
|
12
|
+
defineExpose?: {
|
|
13
|
+
alias: string[];
|
|
14
|
+
};
|
|
15
|
+
defineSlots?: {
|
|
16
|
+
alias: string[];
|
|
17
|
+
};
|
|
18
|
+
defineStyle?: {
|
|
19
|
+
alias: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type OptionsResolved = MarkRequired<Options, 'include' | 'version' | 'defineComponent' | 'defineModel' | 'defineExpose' | 'defineSlots' | 'defineStyle'>;
|
|
23
|
+
declare function resolveOptions(options: Options): OptionsResolved;
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Options, OptionsResolved, resolveOptions };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseOptions, MarkRequired } from "@vue-macros/common";
|
|
2
|
+
|
|
3
|
+
//#region src/options.d.ts
|
|
4
|
+
type Options = BaseOptions & {
|
|
5
|
+
defineComponent?: {
|
|
6
|
+
alias: string[];
|
|
7
|
+
autoReturnFunction?: boolean;
|
|
8
|
+
};
|
|
9
|
+
defineModel?: {
|
|
10
|
+
alias: string[];
|
|
11
|
+
};
|
|
12
|
+
defineExpose?: {
|
|
13
|
+
alias: string[];
|
|
14
|
+
};
|
|
15
|
+
defineSlots?: {
|
|
16
|
+
alias: string[];
|
|
17
|
+
};
|
|
18
|
+
defineStyle?: {
|
|
19
|
+
alias: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type OptionsResolved = MarkRequired<Options, 'include' | 'version' | 'defineComponent' | 'defineModel' | 'defineExpose' | 'defineSlots' | 'defineStyle'>;
|
|
23
|
+
declare function resolveOptions(options: Options): OptionsResolved;
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Options, OptionsResolved, resolveOptions as resolveOptions$1 };
|
package/dist/options.d.cts
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Options, OptionsResolved, resolveOptions } from "./options.d-B3WOiT_L.cjs";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
defineComponent?: {
|
|
5
|
-
alias: string[];
|
|
6
|
-
autoReturnFunction?: boolean;
|
|
7
|
-
};
|
|
8
|
-
defineModel?: {
|
|
9
|
-
alias: string[];
|
|
10
|
-
};
|
|
11
|
-
defineExpose?: {
|
|
12
|
-
alias: string[];
|
|
13
|
-
};
|
|
14
|
-
defineSlots?: {
|
|
15
|
-
alias: string[];
|
|
16
|
-
};
|
|
17
|
-
defineStyle?: {
|
|
18
|
-
alias: string[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
type OptionsResolved = MarkRequired<Options, 'include' | 'version' | 'defineComponent' | 'defineModel' | 'defineExpose' | 'defineSlots' | 'defineStyle'>;
|
|
22
|
-
declare function resolveOptions(options: Options): OptionsResolved;
|
|
23
|
-
|
|
24
|
-
export { type Options, type OptionsResolved, resolveOptions };
|
|
3
|
+
export { Options, OptionsResolved, resolveOptions };
|
package/dist/options.d.ts
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Options, OptionsResolved, resolveOptions$1 as resolveOptions } from "./options.d-DtyRfe-9.js";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
defineComponent?: {
|
|
5
|
-
alias: string[];
|
|
6
|
-
autoReturnFunction?: boolean;
|
|
7
|
-
};
|
|
8
|
-
defineModel?: {
|
|
9
|
-
alias: string[];
|
|
10
|
-
};
|
|
11
|
-
defineExpose?: {
|
|
12
|
-
alias: string[];
|
|
13
|
-
};
|
|
14
|
-
defineSlots?: {
|
|
15
|
-
alias: string[];
|
|
16
|
-
};
|
|
17
|
-
defineStyle?: {
|
|
18
|
-
alias: string[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
type OptionsResolved = MarkRequired<Options, 'include' | 'version' | 'defineComponent' | 'defineModel' | 'defineExpose' | 'defineSlots' | 'defineStyle'>;
|
|
22
|
-
declare function resolveOptions(options: Options): OptionsResolved;
|
|
23
|
-
|
|
24
|
-
export { type Options, type OptionsResolved, resolveOptions };
|
|
3
|
+
export { Options, OptionsResolved, resolveOptions };
|
package/dist/options.js
CHANGED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_chunk = require('./chunk-BCwAaXi7.cjs');
|
|
3
|
+
const require_core = require('./core-B1Tt-ieP.cjs');
|
|
4
|
+
const require_options = require('./options-CNIhAQHD.cjs');
|
|
5
|
+
const __vue_macros_common = require_chunk.__toESM(require("@vue-macros/common"));
|
|
6
|
+
const __vue_compiler_sfc = require_chunk.__toESM(require("@vue/compiler-sfc"));
|
|
7
|
+
|
|
8
|
+
//#region src/core/style.ts
|
|
9
|
+
async function transformStyle(code, id, options) {
|
|
10
|
+
const query = new URLSearchParams(id.split("?")[1]);
|
|
11
|
+
const result = await (0, __vue_compiler_sfc.compileStyleAsync)({
|
|
12
|
+
filename: id,
|
|
13
|
+
id: `data-v-${query.get("scopeId")}`,
|
|
14
|
+
isProd: options.isProduction,
|
|
15
|
+
source: code,
|
|
16
|
+
scoped: query.get("scoped") === "true"
|
|
17
|
+
});
|
|
18
|
+
return result.code;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/raw.ts
|
|
23
|
+
const name = "@vue-jsx-vapor/macros";
|
|
24
|
+
const plugin = (userOptions = {}) => {
|
|
25
|
+
const options = require_options.resolveOptions(userOptions);
|
|
26
|
+
const filter = (0, __vue_macros_common.createFilter)(options);
|
|
27
|
+
const importMap = new Map();
|
|
28
|
+
return {
|
|
29
|
+
name,
|
|
30
|
+
enforce: "pre",
|
|
31
|
+
resolveId(id) {
|
|
32
|
+
if ((0, __vue_macros_common.normalizePath)(id).startsWith(require_core.helperPrefix)) return id;
|
|
33
|
+
},
|
|
34
|
+
loadInclude(id) {
|
|
35
|
+
return (0, __vue_macros_common.normalizePath)(id).startsWith(require_core.helperPrefix);
|
|
36
|
+
},
|
|
37
|
+
load(_id) {
|
|
38
|
+
const id = (0, __vue_macros_common.normalizePath)(_id);
|
|
39
|
+
if (id === require_core.useModelHelperId) return require_core.use_model_default;
|
|
40
|
+
else if (id === require_core.withDefaultsHelperId) return require_core.with_defaults_default;
|
|
41
|
+
else if (importMap.get(id)) return importMap.get(id);
|
|
42
|
+
},
|
|
43
|
+
transformInclude(id) {
|
|
44
|
+
if (importMap.get(id)) return true;
|
|
45
|
+
return filter(id);
|
|
46
|
+
},
|
|
47
|
+
transform(code, id, opt) {
|
|
48
|
+
if (opt?.ssr) options.defineComponent.autoReturnFunction = true;
|
|
49
|
+
if (importMap.get(id)) return transformStyle(code, id, options);
|
|
50
|
+
return require_core.transformJsxMacros(code, id, importMap, options);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
var raw_default = plugin;
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
Object.defineProperty(exports, 'raw_default', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return raw_default;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { helperPrefix, transformJsxMacros, useModelHelperId, use_model_default, withDefaultsHelperId, with_defaults_default } from "./core-cHgZBgtA.js";
|
|
2
|
+
import { resolveOptions } from "./options-pbSvpKdV.js";
|
|
3
|
+
import { createFilter, normalizePath } from "@vue-macros/common";
|
|
4
|
+
import { compileStyleAsync } from "@vue/compiler-sfc";
|
|
5
|
+
|
|
6
|
+
//#region src/core/style.ts
|
|
7
|
+
async function transformStyle(code, id, options) {
|
|
8
|
+
const query = new URLSearchParams(id.split("?")[1]);
|
|
9
|
+
const result = await compileStyleAsync({
|
|
10
|
+
filename: id,
|
|
11
|
+
id: `data-v-${query.get("scopeId")}`,
|
|
12
|
+
isProd: options.isProduction,
|
|
13
|
+
source: code,
|
|
14
|
+
scoped: query.get("scoped") === "true"
|
|
15
|
+
});
|
|
16
|
+
return result.code;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/raw.ts
|
|
21
|
+
const name = "@vue-jsx-vapor/macros";
|
|
22
|
+
const plugin = (userOptions = {}) => {
|
|
23
|
+
const options = resolveOptions(userOptions);
|
|
24
|
+
const filter = createFilter(options);
|
|
25
|
+
const importMap = new Map();
|
|
26
|
+
return {
|
|
27
|
+
name,
|
|
28
|
+
enforce: "pre",
|
|
29
|
+
resolveId(id) {
|
|
30
|
+
if (normalizePath(id).startsWith(helperPrefix)) return id;
|
|
31
|
+
},
|
|
32
|
+
loadInclude(id) {
|
|
33
|
+
return normalizePath(id).startsWith(helperPrefix);
|
|
34
|
+
},
|
|
35
|
+
load(_id) {
|
|
36
|
+
const id = normalizePath(_id);
|
|
37
|
+
if (id === useModelHelperId) return use_model_default;
|
|
38
|
+
else if (id === withDefaultsHelperId) return with_defaults_default;
|
|
39
|
+
else if (importMap.get(id)) return importMap.get(id);
|
|
40
|
+
},
|
|
41
|
+
transformInclude(id) {
|
|
42
|
+
if (importMap.get(id)) return true;
|
|
43
|
+
return filter(id);
|
|
44
|
+
},
|
|
45
|
+
transform(code, id, opt) {
|
|
46
|
+
if (opt?.ssr) options.defineComponent.autoReturnFunction = true;
|
|
47
|
+
if (importMap.get(id)) return transformStyle(code, id, options);
|
|
48
|
+
return transformJsxMacros(code, id, importMap, options);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
var raw_default = plugin;
|
|
53
|
+
|
|
54
|
+
//#endregion
|
|
55
|
+
export { raw_default };
|
package/dist/raw.cjs
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
require('./core-B1Tt-ieP.cjs');
|
|
3
|
+
const require_raw = require('./raw-3ZelnSQR.cjs');
|
|
4
|
+
require('./options-CNIhAQHD.cjs');
|
|
2
5
|
|
|
3
|
-
|
|
4
|
-
require('./chunk-ZQ4GVJKX.cjs');
|
|
5
|
-
require('./chunk-53TNKVYD.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
exports.default = _chunkUAWFIGPXcjs.raw_default;
|
|
9
|
-
|
|
10
|
-
module.exports = exports.default;
|
|
6
|
+
exports.default = require_raw.raw_default
|
package/dist/raw.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import { UnpluginOptions } from
|
|
3
|
-
import '@vue-macros/common';
|
|
1
|
+
import { Options } from "./options.d-B3WOiT_L.cjs";
|
|
2
|
+
import { UnpluginOptions } from "unplugin";
|
|
4
3
|
|
|
4
|
+
//#region src/raw.d.ts
|
|
5
5
|
declare const plugin: (userOptions?: Options) => UnpluginOptions;
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plugin as default };
|
package/dist/raw.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import { UnpluginOptions } from
|
|
3
|
-
import '@vue-macros/common';
|
|
1
|
+
import { Options } from "./options.d-DtyRfe-9.js";
|
|
2
|
+
import { UnpluginOptions } from "unplugin";
|
|
4
3
|
|
|
4
|
+
//#region src/raw.d.ts
|
|
5
5
|
declare const plugin: (userOptions?: Options) => UnpluginOptions;
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plugin as default };
|
package/dist/raw.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
raw_default as default
|
|
8
|
-
};
|
|
1
|
+
import "./core-cHgZBgtA.js";
|
|
2
|
+
import { raw_default } from "./raw-9SXDNxBH.js";
|
|
3
|
+
import "./options-pbSvpKdV.js";
|
|
4
|
+
|
|
5
|
+
export { raw_default as default };
|
package/dist/rolldown.cjs
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
require('./
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var rolldown_default =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.default = rolldown_default
|
|
13
|
-
|
|
14
|
-
module.exports = exports.default;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
require('./core-B1Tt-ieP.cjs');
|
|
4
|
+
require('./raw-3ZelnSQR.cjs');
|
|
5
|
+
require('./options-CNIhAQHD.cjs');
|
|
6
|
+
const require_src = require('./src-DwQLomPw.cjs');
|
|
7
|
+
|
|
8
|
+
//#region src/rolldown.ts
|
|
9
|
+
var rolldown_default = require_src.src_default.rolldown;
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.default = rolldown_default
|
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import '@vue-macros/common';
|
|
1
|
+
import { Options } from "./options.d-B3WOiT_L.cjs";
|
|
3
2
|
|
|
3
|
+
//#region src/rolldown.d.ts
|
|
4
4
|
declare const _default: (options?: Options | undefined) => any;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
//#endregion
|
|
7
|
+
export { _default as default };
|
package/dist/rolldown.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import '@vue-macros/common';
|
|
1
|
+
import { Options } from "./options.d-DtyRfe-9.js";
|
|
3
2
|
|
|
3
|
+
//#region src/rolldown.d.ts
|
|
4
4
|
declare const _default: (options?: Options | undefined) => any;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
//#endregion
|
|
7
|
+
export { _default as default };
|
package/dist/rolldown.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./
|
|
5
|
-
import "./chunk-SMWNQXL7.js";
|
|
6
|
-
import "./chunk-DANY2WQD.js";
|
|
1
|
+
import "./core-cHgZBgtA.js";
|
|
2
|
+
import "./raw-9SXDNxBH.js";
|
|
3
|
+
import "./options-pbSvpKdV.js";
|
|
4
|
+
import { src_default } from "./src-BfZoaRPY.js";
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
var rolldown_default =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
6
|
+
//#region src/rolldown.ts
|
|
7
|
+
var rolldown_default = src_default.rolldown;
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { rolldown_default as default };
|
package/dist/rollup.cjs
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
require('./
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var rollup_default =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.default = rollup_default
|
|
13
|
-
|
|
14
|
-
module.exports = exports.default;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
require('./core-B1Tt-ieP.cjs');
|
|
4
|
+
require('./raw-3ZelnSQR.cjs');
|
|
5
|
+
require('./options-CNIhAQHD.cjs');
|
|
6
|
+
const require_src = require('./src-DwQLomPw.cjs');
|
|
7
|
+
|
|
8
|
+
//#region src/rollup.ts
|
|
9
|
+
var rollup_default = require_src.src_default.rollup;
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.default = rollup_default
|
package/dist/rollup.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '@vue-macros/common';
|
|
1
|
+
import { Options } from "./options.d-B3WOiT_L.cjs";
|
|
2
|
+
import { Plugin } from "rollup";
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
//#region src/rollup.d.ts
|
|
5
|
+
declare const _default: (options?: Options | undefined) => Plugin<any> | Plugin<any>[];
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _default as default };
|
package/dist/rollup.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '@vue-macros/common';
|
|
1
|
+
import { Options } from "./options.d-DtyRfe-9.js";
|
|
2
|
+
import { Plugin } from "rollup";
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
//#region src/rollup.d.ts
|
|
5
|
+
declare const _default: (options?: Options | undefined) => Plugin<any> | Plugin<any>[];
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _default as default };
|
package/dist/rollup.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./
|
|
5
|
-
import "./chunk-SMWNQXL7.js";
|
|
6
|
-
import "./chunk-DANY2WQD.js";
|
|
1
|
+
import "./core-cHgZBgtA.js";
|
|
2
|
+
import "./raw-9SXDNxBH.js";
|
|
3
|
+
import "./options-pbSvpKdV.js";
|
|
4
|
+
import { src_default } from "./src-BfZoaRPY.js";
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
var rollup_default =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
6
|
+
//#region src/rollup.ts
|
|
7
|
+
var rollup_default = src_default.rollup;
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { rollup_default as default };
|
package/dist/rspack.cjs
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
require('./
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var rspack_default =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.default = rspack_default
|
|
13
|
-
|
|
14
|
-
module.exports = exports.default;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
require('./core-B1Tt-ieP.cjs');
|
|
4
|
+
require('./raw-3ZelnSQR.cjs');
|
|
5
|
+
require('./options-CNIhAQHD.cjs');
|
|
6
|
+
const require_src = require('./src-DwQLomPw.cjs');
|
|
7
|
+
|
|
8
|
+
//#region src/rspack.ts
|
|
9
|
+
var rspack_default = require_src.src_default.rspack;
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.default = rspack_default
|
package/dist/rspack.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import '@vue-macros/common';
|
|
1
|
+
import { Options } from "./options.d-B3WOiT_L.cjs";
|
|
3
2
|
|
|
3
|
+
//#region src/rspack.d.ts
|
|
4
4
|
declare const _default: (options?: Options | undefined) => RspackPluginInstance;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
//#endregion
|
|
7
|
+
export { _default as default };
|
package/dist/rspack.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Options } from
|
|
2
|
-
import '@vue-macros/common';
|
|
1
|
+
import { Options } from "./options.d-DtyRfe-9.js";
|
|
3
2
|
|
|
3
|
+
//#region src/rspack.d.ts
|
|
4
4
|
declare const _default: (options?: Options | undefined) => RspackPluginInstance;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
//#endregion
|
|
7
|
+
export { _default as default };
|
package/dist/rspack.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./
|
|
5
|
-
import "./chunk-SMWNQXL7.js";
|
|
6
|
-
import "./chunk-DANY2WQD.js";
|
|
1
|
+
import "./core-cHgZBgtA.js";
|
|
2
|
+
import "./raw-9SXDNxBH.js";
|
|
3
|
+
import "./options-pbSvpKdV.js";
|
|
4
|
+
import { src_default } from "./src-BfZoaRPY.js";
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
var rspack_default =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
6
|
+
//#region src/rspack.ts
|
|
7
|
+
var rspack_default = src_default.rspack;
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { rspack_default as default };
|