@quiteer/vite 0.0.7 → 0.1.1
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/bin/qvite.mjs +116 -44
- package/dist/index.d.mts +12 -8
- package/dist/index.mjs +6 -5906
- package/package.json +4 -4
- package/dist/bin/context-Db5EuGKU-B3vpL0eS.mjs +0 -24
- package/dist/bin/dist-BmyFpZwL.mjs +0 -7
- package/dist/bin/dist-BniM_x9D.mjs +0 -5256
- package/dist/bin/dist-Bvgk2hb8.mjs +0 -187
- package/dist/bin/dist-CjNY_432.mjs +0 -473
- package/dist/bin/dist-DQNZhGEj.mjs +0 -10562
- package/dist/bin/esm-CQYKr9An.mjs +0 -1557
- package/dist/bin/experimental-index-DiVJ_oZg.mjs +0 -71
- package/dist/bin/resolver-DymnxKPB-UI_9xIg2.mjs +0 -16
- package/dist/bin/src-BwxUhqZU-Dr1MNcyS.mjs +0 -5046
- package/dist/bin/tsc-TmK__neM.mjs +0 -406
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { o as __toESM, s as require_binding, t as BuiltinPlugin } from "./src-BwxUhqZU-Dr1MNcyS.mjs";
|
|
2
|
-
import { createRequire } from "node:module";
|
|
3
|
-
import { pathToFileURL } from "node:url";
|
|
4
|
-
|
|
5
|
-
//#region rolldown:runtime
|
|
6
|
-
var __create = Object.create;
|
|
7
|
-
var __defProp = Object.defineProperty;
|
|
8
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
10
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
11
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
|
-
var __commonJS = (cb, mod) => function() {
|
|
13
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
14
|
-
};
|
|
15
|
-
var __copyProps = (to, from, except, desc) => {
|
|
16
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
17
|
-
key = keys[i];
|
|
18
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
19
|
-
get: ((k) => from[k]).bind(null, key),
|
|
20
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
return to;
|
|
24
|
-
};
|
|
25
|
-
var __toESM$1 = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
-
value: mod,
|
|
27
|
-
enumerable: true
|
|
28
|
-
}) : target, mod));
|
|
29
|
-
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.17.4_rolldown@1.0.0-beta.47_typescript@5.9.3_vue-tsc@3.1.3_typescript@5.9.3_/node_modules/rolldown-plugin-dts/dist/filename-DhMOFFZT.mjs
|
|
32
|
-
const RE_JS = /\.([cm]?)jsx?$/;
|
|
33
|
-
const RE_TS = /\.([cm]?)tsx?$/;
|
|
34
|
-
const RE_DTS = /\.d\.([cm]?)ts$/;
|
|
35
|
-
const RE_DTS_MAP = /\.d\.([cm]?)ts\.map$/;
|
|
36
|
-
const RE_NODE_MODULES = /[\\/]node_modules[\\/]/;
|
|
37
|
-
const RE_CSS = /\.css$/;
|
|
38
|
-
const RE_VUE = /\.vue$/;
|
|
39
|
-
const RE_JSON = /\.json$/;
|
|
40
|
-
function filename_js_to_dts(id) {
|
|
41
|
-
return id.replace(RE_JS, ".d.$1ts");
|
|
42
|
-
}
|
|
43
|
-
function filename_to_dts(id) {
|
|
44
|
-
return id.replace(RE_VUE, ".vue.ts").replace(RE_TS, ".d.$1ts").replace(RE_JS, ".d.$1ts").replace(RE_JSON, ".d.ts");
|
|
45
|
-
}
|
|
46
|
-
function filename_dts_to(id, ext) {
|
|
47
|
-
return id.replace(RE_DTS, `.$1${ext}`);
|
|
48
|
-
}
|
|
49
|
-
function resolveTemplateFn(fn, chunk) {
|
|
50
|
-
return typeof fn === "function" ? fn(chunk) : fn;
|
|
51
|
-
}
|
|
52
|
-
function replaceTemplateName(template, name) {
|
|
53
|
-
return template.replaceAll("[name]", name);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region ../../node_modules/.pnpm/rolldown@1.0.0-beta.47/node_modules/rolldown/dist/experimental-index.mjs
|
|
58
|
-
var import_binding$1 = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
59
|
-
function importGlobPlugin(config) {
|
|
60
|
-
return new BuiltinPlugin("builtin:import-glob", config);
|
|
61
|
-
}
|
|
62
|
-
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
63
|
-
var BindingRebuildStrategy = import_binding.BindingRebuildStrategy;
|
|
64
|
-
var ResolverFactory = import_binding.ResolverFactory;
|
|
65
|
-
var isolatedDeclaration = import_binding.isolatedDeclaration;
|
|
66
|
-
var minify = import_binding.minify;
|
|
67
|
-
var moduleRunnerTransform = import_binding.moduleRunnerTransform;
|
|
68
|
-
var transform = import_binding.transform;
|
|
69
|
-
|
|
70
|
-
//#endregion
|
|
71
|
-
export { __commonJS as _, RE_DTS as a, RE_JSON as c, RE_VUE as d, filename_dts_to as f, resolveTemplateFn as g, replaceTemplateName as h, RE_CSS as i, RE_NODE_MODULES as l, filename_to_dts as m, importGlobPlugin as n, RE_DTS_MAP as o, filename_js_to_dts as p, isolatedDeclaration as r, RE_JS as s, ResolverFactory as t, RE_TS as u, __toESM$1 as v };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.17.4_rolldown@1.0.0-beta.47_typescript@5.9.3_vue-tsc@3.1.3_typescript@5.9.3_/node_modules/rolldown-plugin-dts/dist/resolver-DymnxKPB.mjs
|
|
2
|
-
const __cjs_require = globalThis.process.getBuiltinModule("module").createRequire(import.meta.url);
|
|
3
|
-
const Debug = __cjs_require("debug");
|
|
4
|
-
const path = globalThis.process.getBuiltinModule("node:path");
|
|
5
|
-
const ts = __cjs_require("typescript");
|
|
6
|
-
const debug = Debug("rolldown-plugin-dts:tsc-resolver");
|
|
7
|
-
function tscResolve(id, importer, cwd, tsconfig, tsconfigRaw, reference) {
|
|
8
|
-
const baseDir = tsconfig ? path.dirname(tsconfig) : cwd;
|
|
9
|
-
const parsedConfig = ts.parseJsonConfigFileContent(tsconfigRaw, ts.sys, baseDir);
|
|
10
|
-
const resolved = ts.bundlerModuleNameResolver(id, importer, parsedConfig.options, ts.sys, void 0, reference);
|
|
11
|
-
debug(`tsc resolving id "%s" from "%s" -> %O`, id, importer, resolved.resolvedModule);
|
|
12
|
-
return resolved.resolvedModule?.resolvedFileName;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { tscResolve };
|