@absolutejs/absolute 0.19.0-beta.1110 → 0.19.0-beta.1112
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js +15 -2
- package/dist/angular/index.js.map +5 -4
- package/dist/angular/server.js +15 -2
- package/dist/angular/server.js.map +5 -4
- package/dist/build.js +25 -649
- package/dist/build.js.map +8 -8
- package/dist/index.js +25 -649
- package/dist/index.js.map +8 -8
- package/dist/islands/index.js +15 -2
- package/dist/islands/index.js.map +5 -4
- package/dist/react/index.js +15 -2
- package/dist/react/index.js.map +5 -4
- package/dist/src/utils/vueCompiler.d.ts +1 -0
- package/dist/svelte/index.js +15 -2
- package/dist/svelte/index.js.map +5 -4
- package/dist/vue/index.js +15 -2
- package/dist/vue/index.js.map +5 -4
- package/package.json +1 -1
- package/dist/tailwindcss-oxide.linux-x64-gnu-vcb5zrt4.node +0 -0
- package/dist/tailwindcss-oxide.linux-x64-musl-vr6z8t87.node +0 -0
package/dist/build.js
CHANGED
|
@@ -3966,6 +3966,19 @@ var init_svelteServerModule = __esm(() => {
|
|
|
3966
3966
|
});
|
|
3967
3967
|
});
|
|
3968
3968
|
|
|
3969
|
+
// src/utils/vueCompiler.ts
|
|
3970
|
+
var createVueCompiler = async () => {
|
|
3971
|
+
const [compiler, typescript] = await Promise.all([
|
|
3972
|
+
import("@vue/compiler-sfc"),
|
|
3973
|
+
import("typescript")
|
|
3974
|
+
]);
|
|
3975
|
+
compiler.registerTS?.(() => typescript);
|
|
3976
|
+
return compiler;
|
|
3977
|
+
}, compilerPromise, loadVueCompiler = () => {
|
|
3978
|
+
compilerPromise ??= createVueCompiler();
|
|
3979
|
+
return compilerPromise;
|
|
3980
|
+
};
|
|
3981
|
+
|
|
3969
3982
|
// src/core/vueServerModule.ts
|
|
3970
3983
|
import { existsSync as existsSync5, readFileSync as readFileSync4, realpathSync } from "fs";
|
|
3971
3984
|
import { mkdir as mkdir3 } from "fs/promises";
|
|
@@ -4007,7 +4020,7 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
|
|
|
4007
4020
|
const cachedModulePath = compiledModuleCache3.get(sourcePath);
|
|
4008
4021
|
if (cachedModulePath)
|
|
4009
4022
|
return cachedModulePath;
|
|
4010
|
-
const compiler = await
|
|
4023
|
+
const compiler = await loadVueCompiler();
|
|
4011
4024
|
const source = await Bun.file(sourcePath).text();
|
|
4012
4025
|
const { descriptor } = compiler.parse(source, { filename: sourcePath });
|
|
4013
4026
|
const componentId = Bun.hash(sourcePath).toString(BASE_36_RADIX).slice(0, ISLAND_COMPONENT_ID_LENGTH);
|
|
@@ -10774,647 +10787,6 @@ var init_lib = __esm(() => {
|
|
|
10774
10787
|
init_chunk_HTB5LLOP();
|
|
10775
10788
|
});
|
|
10776
10789
|
|
|
10777
|
-
// node_modules/@tailwindcss/oxide-linux-x64-musl/tailwindcss-oxide.linux-x64-musl.node
|
|
10778
|
-
var require_tailwindcss_oxide_linux_x64_musl = __commonJS((exports, module) => {
|
|
10779
|
-
module.exports = __require("./tailwindcss-oxide.linux-x64-musl-vr6z8t87.node");
|
|
10780
|
-
});
|
|
10781
|
-
|
|
10782
|
-
// node_modules/@tailwindcss/oxide-linux-x64-musl/package.json
|
|
10783
|
-
var require_package = __commonJS((exports, module) => {
|
|
10784
|
-
module.exports = {
|
|
10785
|
-
name: "@tailwindcss/oxide-linux-x64-musl",
|
|
10786
|
-
version: "4.3.2",
|
|
10787
|
-
repository: {
|
|
10788
|
-
type: "git",
|
|
10789
|
-
url: "git+https://github.com/tailwindlabs/tailwindcss.git",
|
|
10790
|
-
directory: "crates/node/npm/linux-x64-musl"
|
|
10791
|
-
},
|
|
10792
|
-
os: [
|
|
10793
|
-
"linux"
|
|
10794
|
-
],
|
|
10795
|
-
cpu: [
|
|
10796
|
-
"x64"
|
|
10797
|
-
],
|
|
10798
|
-
main: "tailwindcss-oxide.linux-x64-musl.node",
|
|
10799
|
-
files: [
|
|
10800
|
-
"tailwindcss-oxide.linux-x64-musl.node"
|
|
10801
|
-
],
|
|
10802
|
-
publishConfig: {
|
|
10803
|
-
provenance: true,
|
|
10804
|
-
access: "public"
|
|
10805
|
-
},
|
|
10806
|
-
license: "MIT",
|
|
10807
|
-
engines: {
|
|
10808
|
-
node: ">= 20"
|
|
10809
|
-
},
|
|
10810
|
-
libc: [
|
|
10811
|
-
"musl"
|
|
10812
|
-
]
|
|
10813
|
-
};
|
|
10814
|
-
});
|
|
10815
|
-
|
|
10816
|
-
// node_modules/@tailwindcss/oxide-linux-x64-gnu/tailwindcss-oxide.linux-x64-gnu.node
|
|
10817
|
-
var require_tailwindcss_oxide_linux_x64_gnu = __commonJS((exports, module) => {
|
|
10818
|
-
module.exports = __require("./tailwindcss-oxide.linux-x64-gnu-vcb5zrt4.node");
|
|
10819
|
-
});
|
|
10820
|
-
|
|
10821
|
-
// node_modules/@tailwindcss/oxide-linux-x64-gnu/package.json
|
|
10822
|
-
var require_package2 = __commonJS((exports, module) => {
|
|
10823
|
-
module.exports = {
|
|
10824
|
-
name: "@tailwindcss/oxide-linux-x64-gnu",
|
|
10825
|
-
version: "4.3.2",
|
|
10826
|
-
repository: {
|
|
10827
|
-
type: "git",
|
|
10828
|
-
url: "git+https://github.com/tailwindlabs/tailwindcss.git",
|
|
10829
|
-
directory: "crates/node/npm/linux-x64-gnu"
|
|
10830
|
-
},
|
|
10831
|
-
os: [
|
|
10832
|
-
"linux"
|
|
10833
|
-
],
|
|
10834
|
-
cpu: [
|
|
10835
|
-
"x64"
|
|
10836
|
-
],
|
|
10837
|
-
main: "tailwindcss-oxide.linux-x64-gnu.node",
|
|
10838
|
-
files: [
|
|
10839
|
-
"tailwindcss-oxide.linux-x64-gnu.node"
|
|
10840
|
-
],
|
|
10841
|
-
publishConfig: {
|
|
10842
|
-
provenance: true,
|
|
10843
|
-
access: "public"
|
|
10844
|
-
},
|
|
10845
|
-
license: "MIT",
|
|
10846
|
-
engines: {
|
|
10847
|
-
node: ">= 20"
|
|
10848
|
-
},
|
|
10849
|
-
libc: [
|
|
10850
|
-
"glibc"
|
|
10851
|
-
]
|
|
10852
|
-
};
|
|
10853
|
-
});
|
|
10854
|
-
|
|
10855
|
-
// node_modules/@tailwindcss/oxide/index.js
|
|
10856
|
-
var require_oxide = __commonJS((exports, module) => {
|
|
10857
|
-
var { readFileSync: readFileSync7 } = __require("fs");
|
|
10858
|
-
var nativeBinding = null;
|
|
10859
|
-
var loadErrors = [];
|
|
10860
|
-
var isMusl = () => {
|
|
10861
|
-
let musl = false;
|
|
10862
|
-
if (process.platform === "linux") {
|
|
10863
|
-
musl = isMuslFromFilesystem();
|
|
10864
|
-
if (musl === null) {
|
|
10865
|
-
musl = isMuslFromReport();
|
|
10866
|
-
}
|
|
10867
|
-
if (musl === null) {
|
|
10868
|
-
musl = isMuslFromChildProcess();
|
|
10869
|
-
}
|
|
10870
|
-
}
|
|
10871
|
-
return musl;
|
|
10872
|
-
};
|
|
10873
|
-
var isFileMusl = (f2) => f2.includes("libc.musl-") || f2.includes("ld-musl-");
|
|
10874
|
-
var isMuslFromFilesystem = () => {
|
|
10875
|
-
try {
|
|
10876
|
-
return readFileSync7("/usr/bin/ldd", "utf-8").includes("musl");
|
|
10877
|
-
} catch {
|
|
10878
|
-
return null;
|
|
10879
|
-
}
|
|
10880
|
-
};
|
|
10881
|
-
var isMuslFromReport = () => {
|
|
10882
|
-
let report = null;
|
|
10883
|
-
if (typeof process.report?.getReport === "function") {
|
|
10884
|
-
process.report.excludeNetwork = true;
|
|
10885
|
-
report = process.report.getReport();
|
|
10886
|
-
}
|
|
10887
|
-
if (!report) {
|
|
10888
|
-
return null;
|
|
10889
|
-
}
|
|
10890
|
-
if (report.header && report.header.glibcVersionRuntime) {
|
|
10891
|
-
return false;
|
|
10892
|
-
}
|
|
10893
|
-
if (Array.isArray(report.sharedObjects)) {
|
|
10894
|
-
if (report.sharedObjects.some(isFileMusl)) {
|
|
10895
|
-
return true;
|
|
10896
|
-
}
|
|
10897
|
-
}
|
|
10898
|
-
return false;
|
|
10899
|
-
};
|
|
10900
|
-
var isMuslFromChildProcess = () => {
|
|
10901
|
-
try {
|
|
10902
|
-
return __require("child_process").execSync("ldd --version", { encoding: "utf8" }).includes("musl");
|
|
10903
|
-
} catch (e) {
|
|
10904
|
-
return false;
|
|
10905
|
-
}
|
|
10906
|
-
};
|
|
10907
|
-
function requireNative() {
|
|
10908
|
-
if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {
|
|
10909
|
-
try {
|
|
10910
|
-
return __require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
|
|
10911
|
-
} catch (err) {
|
|
10912
|
-
loadErrors.push(err);
|
|
10913
|
-
}
|
|
10914
|
-
} else if (process.platform === "android") {
|
|
10915
|
-
if (process.arch === "arm64") {
|
|
10916
|
-
try {
|
|
10917
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.android-arm64.node");})();
|
|
10918
|
-
} catch (e) {
|
|
10919
|
-
loadErrors.push(e);
|
|
10920
|
-
}
|
|
10921
|
-
try {
|
|
10922
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm64");})();
|
|
10923
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm64/package.json");})().version;
|
|
10924
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
10925
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10926
|
-
}
|
|
10927
|
-
return binding;
|
|
10928
|
-
} catch (e) {
|
|
10929
|
-
loadErrors.push(e);
|
|
10930
|
-
}
|
|
10931
|
-
} else if (process.arch === "arm") {
|
|
10932
|
-
try {
|
|
10933
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.android-arm-eabi.node");})();
|
|
10934
|
-
} catch (e) {
|
|
10935
|
-
loadErrors.push(e);
|
|
10936
|
-
}
|
|
10937
|
-
try {
|
|
10938
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm-eabi");})();
|
|
10939
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm-eabi/package.json");})().version;
|
|
10940
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
10941
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10942
|
-
}
|
|
10943
|
-
return binding;
|
|
10944
|
-
} catch (e) {
|
|
10945
|
-
loadErrors.push(e);
|
|
10946
|
-
}
|
|
10947
|
-
} else {
|
|
10948
|
-
loadErrors.push(new Error(`Unsupported architecture on Android ${process.arch}`));
|
|
10949
|
-
}
|
|
10950
|
-
} else if (process.platform === "win32") {
|
|
10951
|
-
if (process.arch === "x64") {
|
|
10952
|
-
if (process.config?.variables?.shlib_suffix === "dll.a" || process.config?.variables?.node_target_type === "shared_library") {
|
|
10953
|
-
try {
|
|
10954
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-x64-gnu.node");})();
|
|
10955
|
-
} catch (e) {
|
|
10956
|
-
loadErrors.push(e);
|
|
10957
|
-
}
|
|
10958
|
-
try {
|
|
10959
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-gnu");})();
|
|
10960
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-gnu/package.json");})().version;
|
|
10961
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
10962
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10963
|
-
}
|
|
10964
|
-
return binding;
|
|
10965
|
-
} catch (e) {
|
|
10966
|
-
loadErrors.push(e);
|
|
10967
|
-
}
|
|
10968
|
-
} else {
|
|
10969
|
-
try {
|
|
10970
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-x64-msvc.node");})();
|
|
10971
|
-
} catch (e) {
|
|
10972
|
-
loadErrors.push(e);
|
|
10973
|
-
}
|
|
10974
|
-
try {
|
|
10975
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-msvc");})();
|
|
10976
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-msvc/package.json");})().version;
|
|
10977
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
10978
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10979
|
-
}
|
|
10980
|
-
return binding;
|
|
10981
|
-
} catch (e) {
|
|
10982
|
-
loadErrors.push(e);
|
|
10983
|
-
}
|
|
10984
|
-
}
|
|
10985
|
-
} else if (process.arch === "ia32") {
|
|
10986
|
-
try {
|
|
10987
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-ia32-msvc.node");})();
|
|
10988
|
-
} catch (e) {
|
|
10989
|
-
loadErrors.push(e);
|
|
10990
|
-
}
|
|
10991
|
-
try {
|
|
10992
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-ia32-msvc");})();
|
|
10993
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-ia32-msvc/package.json");})().version;
|
|
10994
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
10995
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
10996
|
-
}
|
|
10997
|
-
return binding;
|
|
10998
|
-
} catch (e) {
|
|
10999
|
-
loadErrors.push(e);
|
|
11000
|
-
}
|
|
11001
|
-
} else if (process.arch === "arm64") {
|
|
11002
|
-
try {
|
|
11003
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-arm64-msvc.node");})();
|
|
11004
|
-
} catch (e) {
|
|
11005
|
-
loadErrors.push(e);
|
|
11006
|
-
}
|
|
11007
|
-
try {
|
|
11008
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-arm64-msvc");})();
|
|
11009
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-arm64-msvc/package.json");})().version;
|
|
11010
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11011
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11012
|
-
}
|
|
11013
|
-
return binding;
|
|
11014
|
-
} catch (e) {
|
|
11015
|
-
loadErrors.push(e);
|
|
11016
|
-
}
|
|
11017
|
-
} else {
|
|
11018
|
-
loadErrors.push(new Error(`Unsupported architecture on Windows: ${process.arch}`));
|
|
11019
|
-
}
|
|
11020
|
-
} else if (process.platform === "darwin") {
|
|
11021
|
-
try {
|
|
11022
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-universal.node");})();
|
|
11023
|
-
} catch (e) {
|
|
11024
|
-
loadErrors.push(e);
|
|
11025
|
-
}
|
|
11026
|
-
try {
|
|
11027
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-universal");})();
|
|
11028
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-universal/package.json");})().version;
|
|
11029
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11030
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11031
|
-
}
|
|
11032
|
-
return binding;
|
|
11033
|
-
} catch (e) {
|
|
11034
|
-
loadErrors.push(e);
|
|
11035
|
-
}
|
|
11036
|
-
if (process.arch === "x64") {
|
|
11037
|
-
try {
|
|
11038
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-x64.node");})();
|
|
11039
|
-
} catch (e) {
|
|
11040
|
-
loadErrors.push(e);
|
|
11041
|
-
}
|
|
11042
|
-
try {
|
|
11043
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-x64");})();
|
|
11044
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-x64/package.json");})().version;
|
|
11045
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11046
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11047
|
-
}
|
|
11048
|
-
return binding;
|
|
11049
|
-
} catch (e) {
|
|
11050
|
-
loadErrors.push(e);
|
|
11051
|
-
}
|
|
11052
|
-
} else if (process.arch === "arm64") {
|
|
11053
|
-
try {
|
|
11054
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-arm64.node");})();
|
|
11055
|
-
} catch (e) {
|
|
11056
|
-
loadErrors.push(e);
|
|
11057
|
-
}
|
|
11058
|
-
try {
|
|
11059
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-arm64");})();
|
|
11060
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-arm64/package.json");})().version;
|
|
11061
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11062
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11063
|
-
}
|
|
11064
|
-
return binding;
|
|
11065
|
-
} catch (e) {
|
|
11066
|
-
loadErrors.push(e);
|
|
11067
|
-
}
|
|
11068
|
-
} else {
|
|
11069
|
-
loadErrors.push(new Error(`Unsupported architecture on macOS: ${process.arch}`));
|
|
11070
|
-
}
|
|
11071
|
-
} else if (process.platform === "freebsd") {
|
|
11072
|
-
if (process.arch === "x64") {
|
|
11073
|
-
try {
|
|
11074
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.freebsd-x64.node");})();
|
|
11075
|
-
} catch (e) {
|
|
11076
|
-
loadErrors.push(e);
|
|
11077
|
-
}
|
|
11078
|
-
try {
|
|
11079
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-x64");})();
|
|
11080
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-x64/package.json");})().version;
|
|
11081
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11082
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11083
|
-
}
|
|
11084
|
-
return binding;
|
|
11085
|
-
} catch (e) {
|
|
11086
|
-
loadErrors.push(e);
|
|
11087
|
-
}
|
|
11088
|
-
} else if (process.arch === "arm64") {
|
|
11089
|
-
try {
|
|
11090
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.freebsd-arm64.node");})();
|
|
11091
|
-
} catch (e) {
|
|
11092
|
-
loadErrors.push(e);
|
|
11093
|
-
}
|
|
11094
|
-
try {
|
|
11095
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-arm64");})();
|
|
11096
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-arm64/package.json");})().version;
|
|
11097
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11098
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11099
|
-
}
|
|
11100
|
-
return binding;
|
|
11101
|
-
} catch (e) {
|
|
11102
|
-
loadErrors.push(e);
|
|
11103
|
-
}
|
|
11104
|
-
} else {
|
|
11105
|
-
loadErrors.push(new Error(`Unsupported architecture on FreeBSD: ${process.arch}`));
|
|
11106
|
-
}
|
|
11107
|
-
} else if (process.platform === "linux") {
|
|
11108
|
-
if (process.arch === "x64") {
|
|
11109
|
-
if (isMusl()) {
|
|
11110
|
-
try {
|
|
11111
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-x64-musl.node");})();
|
|
11112
|
-
} catch (e) {
|
|
11113
|
-
loadErrors.push(e);
|
|
11114
|
-
}
|
|
11115
|
-
try {
|
|
11116
|
-
const binding = require_tailwindcss_oxide_linux_x64_musl();
|
|
11117
|
-
const bindingPackageVersion = require_package().version;
|
|
11118
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11119
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11120
|
-
}
|
|
11121
|
-
return binding;
|
|
11122
|
-
} catch (e) {
|
|
11123
|
-
loadErrors.push(e);
|
|
11124
|
-
}
|
|
11125
|
-
} else {
|
|
11126
|
-
try {
|
|
11127
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-x64-gnu.node");})();
|
|
11128
|
-
} catch (e) {
|
|
11129
|
-
loadErrors.push(e);
|
|
11130
|
-
}
|
|
11131
|
-
try {
|
|
11132
|
-
const binding = require_tailwindcss_oxide_linux_x64_gnu();
|
|
11133
|
-
const bindingPackageVersion = require_package2().version;
|
|
11134
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11135
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11136
|
-
}
|
|
11137
|
-
return binding;
|
|
11138
|
-
} catch (e) {
|
|
11139
|
-
loadErrors.push(e);
|
|
11140
|
-
}
|
|
11141
|
-
}
|
|
11142
|
-
} else if (process.arch === "arm64") {
|
|
11143
|
-
if (isMusl()) {
|
|
11144
|
-
try {
|
|
11145
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm64-musl.node");})();
|
|
11146
|
-
} catch (e) {
|
|
11147
|
-
loadErrors.push(e);
|
|
11148
|
-
}
|
|
11149
|
-
try {
|
|
11150
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-musl");})();
|
|
11151
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-musl/package.json");})().version;
|
|
11152
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11153
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11154
|
-
}
|
|
11155
|
-
return binding;
|
|
11156
|
-
} catch (e) {
|
|
11157
|
-
loadErrors.push(e);
|
|
11158
|
-
}
|
|
11159
|
-
} else {
|
|
11160
|
-
try {
|
|
11161
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm64-gnu.node");})();
|
|
11162
|
-
} catch (e) {
|
|
11163
|
-
loadErrors.push(e);
|
|
11164
|
-
}
|
|
11165
|
-
try {
|
|
11166
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-gnu");})();
|
|
11167
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-gnu/package.json");})().version;
|
|
11168
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11169
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11170
|
-
}
|
|
11171
|
-
return binding;
|
|
11172
|
-
} catch (e) {
|
|
11173
|
-
loadErrors.push(e);
|
|
11174
|
-
}
|
|
11175
|
-
}
|
|
11176
|
-
} else if (process.arch === "arm") {
|
|
11177
|
-
if (isMusl()) {
|
|
11178
|
-
try {
|
|
11179
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm-musleabihf.node");})();
|
|
11180
|
-
} catch (e) {
|
|
11181
|
-
loadErrors.push(e);
|
|
11182
|
-
}
|
|
11183
|
-
try {
|
|
11184
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-musleabihf");})();
|
|
11185
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-musleabihf/package.json");})().version;
|
|
11186
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11187
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11188
|
-
}
|
|
11189
|
-
return binding;
|
|
11190
|
-
} catch (e) {
|
|
11191
|
-
loadErrors.push(e);
|
|
11192
|
-
}
|
|
11193
|
-
} else {
|
|
11194
|
-
try {
|
|
11195
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm-gnueabihf.node");})();
|
|
11196
|
-
} catch (e) {
|
|
11197
|
-
loadErrors.push(e);
|
|
11198
|
-
}
|
|
11199
|
-
try {
|
|
11200
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-gnueabihf");})();
|
|
11201
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-gnueabihf/package.json");})().version;
|
|
11202
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11203
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11204
|
-
}
|
|
11205
|
-
return binding;
|
|
11206
|
-
} catch (e) {
|
|
11207
|
-
loadErrors.push(e);
|
|
11208
|
-
}
|
|
11209
|
-
}
|
|
11210
|
-
} else if (process.arch === "loong64") {
|
|
11211
|
-
if (isMusl()) {
|
|
11212
|
-
try {
|
|
11213
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-loong64-musl.node");})();
|
|
11214
|
-
} catch (e) {
|
|
11215
|
-
loadErrors.push(e);
|
|
11216
|
-
}
|
|
11217
|
-
try {
|
|
11218
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-musl");})();
|
|
11219
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-musl/package.json");})().version;
|
|
11220
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11221
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11222
|
-
}
|
|
11223
|
-
return binding;
|
|
11224
|
-
} catch (e) {
|
|
11225
|
-
loadErrors.push(e);
|
|
11226
|
-
}
|
|
11227
|
-
} else {
|
|
11228
|
-
try {
|
|
11229
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-loong64-gnu.node");})();
|
|
11230
|
-
} catch (e) {
|
|
11231
|
-
loadErrors.push(e);
|
|
11232
|
-
}
|
|
11233
|
-
try {
|
|
11234
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-gnu");})();
|
|
11235
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-gnu/package.json");})().version;
|
|
11236
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11237
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11238
|
-
}
|
|
11239
|
-
return binding;
|
|
11240
|
-
} catch (e) {
|
|
11241
|
-
loadErrors.push(e);
|
|
11242
|
-
}
|
|
11243
|
-
}
|
|
11244
|
-
} else if (process.arch === "riscv64") {
|
|
11245
|
-
if (isMusl()) {
|
|
11246
|
-
try {
|
|
11247
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-riscv64-musl.node");})();
|
|
11248
|
-
} catch (e) {
|
|
11249
|
-
loadErrors.push(e);
|
|
11250
|
-
}
|
|
11251
|
-
try {
|
|
11252
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-musl");})();
|
|
11253
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-musl/package.json");})().version;
|
|
11254
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11255
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11256
|
-
}
|
|
11257
|
-
return binding;
|
|
11258
|
-
} catch (e) {
|
|
11259
|
-
loadErrors.push(e);
|
|
11260
|
-
}
|
|
11261
|
-
} else {
|
|
11262
|
-
try {
|
|
11263
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-riscv64-gnu.node");})();
|
|
11264
|
-
} catch (e) {
|
|
11265
|
-
loadErrors.push(e);
|
|
11266
|
-
}
|
|
11267
|
-
try {
|
|
11268
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-gnu");})();
|
|
11269
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-gnu/package.json");})().version;
|
|
11270
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11271
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11272
|
-
}
|
|
11273
|
-
return binding;
|
|
11274
|
-
} catch (e) {
|
|
11275
|
-
loadErrors.push(e);
|
|
11276
|
-
}
|
|
11277
|
-
}
|
|
11278
|
-
} else if (process.arch === "ppc64") {
|
|
11279
|
-
try {
|
|
11280
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-ppc64-gnu.node");})();
|
|
11281
|
-
} catch (e) {
|
|
11282
|
-
loadErrors.push(e);
|
|
11283
|
-
}
|
|
11284
|
-
try {
|
|
11285
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-ppc64-gnu");})();
|
|
11286
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-ppc64-gnu/package.json");})().version;
|
|
11287
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11288
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11289
|
-
}
|
|
11290
|
-
return binding;
|
|
11291
|
-
} catch (e) {
|
|
11292
|
-
loadErrors.push(e);
|
|
11293
|
-
}
|
|
11294
|
-
} else if (process.arch === "s390x") {
|
|
11295
|
-
try {
|
|
11296
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-s390x-gnu.node");})();
|
|
11297
|
-
} catch (e) {
|
|
11298
|
-
loadErrors.push(e);
|
|
11299
|
-
}
|
|
11300
|
-
try {
|
|
11301
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-s390x-gnu");})();
|
|
11302
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-s390x-gnu/package.json");})().version;
|
|
11303
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11304
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11305
|
-
}
|
|
11306
|
-
return binding;
|
|
11307
|
-
} catch (e) {
|
|
11308
|
-
loadErrors.push(e);
|
|
11309
|
-
}
|
|
11310
|
-
} else {
|
|
11311
|
-
loadErrors.push(new Error(`Unsupported architecture on Linux: ${process.arch}`));
|
|
11312
|
-
}
|
|
11313
|
-
} else if (process.platform === "openharmony") {
|
|
11314
|
-
if (process.arch === "arm64") {
|
|
11315
|
-
try {
|
|
11316
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-arm64.node");})();
|
|
11317
|
-
} catch (e) {
|
|
11318
|
-
loadErrors.push(e);
|
|
11319
|
-
}
|
|
11320
|
-
try {
|
|
11321
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm64");})();
|
|
11322
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm64/package.json");})().version;
|
|
11323
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11324
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11325
|
-
}
|
|
11326
|
-
return binding;
|
|
11327
|
-
} catch (e) {
|
|
11328
|
-
loadErrors.push(e);
|
|
11329
|
-
}
|
|
11330
|
-
} else if (process.arch === "x64") {
|
|
11331
|
-
try {
|
|
11332
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-x64.node");})();
|
|
11333
|
-
} catch (e) {
|
|
11334
|
-
loadErrors.push(e);
|
|
11335
|
-
}
|
|
11336
|
-
try {
|
|
11337
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-x64");})();
|
|
11338
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-x64/package.json");})().version;
|
|
11339
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11340
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11341
|
-
}
|
|
11342
|
-
return binding;
|
|
11343
|
-
} catch (e) {
|
|
11344
|
-
loadErrors.push(e);
|
|
11345
|
-
}
|
|
11346
|
-
} else if (process.arch === "arm") {
|
|
11347
|
-
try {
|
|
11348
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-arm.node");})();
|
|
11349
|
-
} catch (e) {
|
|
11350
|
-
loadErrors.push(e);
|
|
11351
|
-
}
|
|
11352
|
-
try {
|
|
11353
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm");})();
|
|
11354
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm/package.json");})().version;
|
|
11355
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
11356
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
11357
|
-
}
|
|
11358
|
-
return binding;
|
|
11359
|
-
} catch (e) {
|
|
11360
|
-
loadErrors.push(e);
|
|
11361
|
-
}
|
|
11362
|
-
} else {
|
|
11363
|
-
loadErrors.push(new Error(`Unsupported architecture on OpenHarmony: ${process.arch}`));
|
|
11364
|
-
}
|
|
11365
|
-
} else {
|
|
11366
|
-
loadErrors.push(new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`));
|
|
11367
|
-
}
|
|
11368
|
-
}
|
|
11369
|
-
nativeBinding = requireNative();
|
|
11370
|
-
var forceWasi = process.env.NAPI_RS_FORCE_WASI === "true" || process.env.NAPI_RS_FORCE_WASI === "error";
|
|
11371
|
-
if (!nativeBinding || forceWasi) {
|
|
11372
|
-
let wasiBinding = null;
|
|
11373
|
-
let wasiBindingError = null;
|
|
11374
|
-
try {
|
|
11375
|
-
wasiBinding = (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.wasi.cjs");})();
|
|
11376
|
-
nativeBinding = wasiBinding;
|
|
11377
|
-
} catch (err) {
|
|
11378
|
-
if (forceWasi) {
|
|
11379
|
-
wasiBindingError = err;
|
|
11380
|
-
}
|
|
11381
|
-
}
|
|
11382
|
-
if (!nativeBinding || forceWasi) {
|
|
11383
|
-
try {
|
|
11384
|
-
wasiBinding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-wasm32-wasi");})();
|
|
11385
|
-
nativeBinding = wasiBinding;
|
|
11386
|
-
} catch (err) {
|
|
11387
|
-
if (forceWasi) {
|
|
11388
|
-
if (!wasiBindingError) {
|
|
11389
|
-
wasiBindingError = err;
|
|
11390
|
-
} else {
|
|
11391
|
-
wasiBindingError.cause = err;
|
|
11392
|
-
}
|
|
11393
|
-
loadErrors.push(err);
|
|
11394
|
-
}
|
|
11395
|
-
}
|
|
11396
|
-
}
|
|
11397
|
-
if (process.env.NAPI_RS_FORCE_WASI === "error" && !wasiBinding) {
|
|
11398
|
-
const error = new Error("WASI binding not found and NAPI_RS_FORCE_WASI is set to error");
|
|
11399
|
-
error.cause = wasiBindingError;
|
|
11400
|
-
throw error;
|
|
11401
|
-
}
|
|
11402
|
-
}
|
|
11403
|
-
if (!nativeBinding) {
|
|
11404
|
-
if (loadErrors.length > 0) {
|
|
11405
|
-
throw new Error(`Cannot find native binding. ` + `npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). ` + "Please try `npm i` again after removing both package-lock.json and node_modules directory.", {
|
|
11406
|
-
cause: loadErrors.reduce((err, cur) => {
|
|
11407
|
-
cur.cause = err;
|
|
11408
|
-
return cur;
|
|
11409
|
-
})
|
|
11410
|
-
});
|
|
11411
|
-
}
|
|
11412
|
-
throw new Error(`Failed to load native binding`);
|
|
11413
|
-
}
|
|
11414
|
-
module.exports = nativeBinding;
|
|
11415
|
-
module.exports.Scanner = nativeBinding.Scanner;
|
|
11416
|
-
});
|
|
11417
|
-
|
|
11418
10790
|
// src/build/tailwindCompiler.ts
|
|
11419
10791
|
var exports_tailwindCompiler = {};
|
|
11420
10792
|
__export(exports_tailwindCompiler, {
|
|
@@ -11440,7 +10812,7 @@ var compilerCache, cachedTailwindCompile = null, loadTailwindCompile = async ()
|
|
|
11440
10812
|
if (cachedScannerCtor)
|
|
11441
10813
|
return cachedScannerCtor;
|
|
11442
10814
|
try {
|
|
11443
|
-
const mod = await
|
|
10815
|
+
const mod = await import("@tailwindcss/oxide");
|
|
11444
10816
|
cachedScannerCtor = mod.Scanner;
|
|
11445
10817
|
return mod.Scanner;
|
|
11446
10818
|
} catch {
|
|
@@ -15133,7 +14505,7 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
15133
14505
|
persistentBuildCache.set(sourceFilePath, result);
|
|
15134
14506
|
return result;
|
|
15135
14507
|
}, compileVue = async (entryPoints, vueRootDir, isDev2 = false, stylePreprocessors, ssrOnlyEntries) => {
|
|
15136
|
-
const compiler = await
|
|
14508
|
+
const compiler = await loadVueCompiler();
|
|
15137
14509
|
const generatedDir = getFrameworkGeneratedDir("vue");
|
|
15138
14510
|
const clientOutputDir = join29(generatedDir, "client");
|
|
15139
14511
|
const indexOutputDir = join29(generatedDir, "indexes");
|
|
@@ -21665,6 +21037,7 @@ ${content.slice(firstUseIdx)}`;
|
|
|
21665
21037
|
const sveltePagesPath = svelteDir && join36(svelteDir, "pages");
|
|
21666
21038
|
const vuePagesPath = vueDir && join36(vueDir, "pages");
|
|
21667
21039
|
const htmxPagesPath = htmxDir && join36(htmxDir, "pages");
|
|
21040
|
+
const htmxScriptsPath = htmxDir && join36(htmxDir, "scripts");
|
|
21668
21041
|
const angularPagesPath = angularDir && join36(angularDir, "pages");
|
|
21669
21042
|
const emberPagesPath = emberDir && join36(emberDir, "pages");
|
|
21670
21043
|
const frontends = [
|
|
@@ -21795,7 +21168,10 @@ ${content.slice(firstUseIdx)}`;
|
|
|
21795
21168
|
] = await Promise.all([
|
|
21796
21169
|
tailwindPromise,
|
|
21797
21170
|
reactIndexesPath ? tracePhase("scan/react-indexes", () => scanEntryPoints(reactIndexesPath, "*.tsx")) : [],
|
|
21798
|
-
|
|
21171
|
+
tracePhase("scan/html-htmx-scripts", async () => {
|
|
21172
|
+
const entries = await Promise.all([htmlScriptsPath, htmxScriptsPath].filter((path) => Boolean(path)).map((path) => scanEntryPoints(path, "*.{js,ts}")));
|
|
21173
|
+
return entries.flat();
|
|
21174
|
+
}),
|
|
21799
21175
|
reactPagesPath ? tracePhase("scan/react-conventions", () => scanConventions(reactPagesPath, "*.tsx")) : emptyConventionResult,
|
|
21800
21176
|
sveltePagesPath ? tracePhase("scan/svelte-conventions", () => scanConventions(sveltePagesPath, "*.svelte")) : emptyConventionResult,
|
|
21801
21177
|
vuePagesPath ? tracePhase("scan/vue-conventions", () => scanConventions(vuePagesPath, "*.vue")) : emptyConventionResult,
|
|
@@ -21915,7 +21291,7 @@ ${content.slice(firstUseIdx)}`;
|
|
|
21915
21291
|
}
|
|
21916
21292
|
return null;
|
|
21917
21293
|
}) : allReactEntries;
|
|
21918
|
-
const htmlEntries = isIncremental && htmlScriptsPath && !shouldIncludeHtmlAssets ? filterToIncrementalEntries(allHtmlEntries, (entry) => entry) : allHtmlEntries;
|
|
21294
|
+
const htmlEntries = isIncremental && (htmlScriptsPath || htmxScriptsPath) && !shouldIncludeHtmlAssets ? filterToIncrementalEntries(allHtmlEntries, (entry) => entry) : allHtmlEntries;
|
|
21919
21295
|
const svelteEntries = isIncremental ? filterToIncrementalEntries(allSvelteEntries, (entry) => entry) : allSvelteEntries;
|
|
21920
21296
|
const vueEntries = isIncremental ? filterToIncrementalEntries(allVueEntries, (entry) => entry) : allVueEntries;
|
|
21921
21297
|
const angularEntries = isIncremental ? filterToIncrementalEntries(allAngularEntries, (entry) => entry) : allAngularEntries;
|
|
@@ -25317,7 +24693,7 @@ ${code}`;
|
|
|
25317
24693
|
}, warmCompilers = async (frameworks2) => {
|
|
25318
24694
|
const [svelteModule, vueModule] = await Promise.all([
|
|
25319
24695
|
frameworks2.svelte ? import("svelte/compiler") : undefined,
|
|
25320
|
-
frameworks2.vue ?
|
|
24696
|
+
frameworks2.vue ? loadVueCompiler() : undefined
|
|
25321
24697
|
]);
|
|
25322
24698
|
if (svelteModule) {
|
|
25323
24699
|
svelteCompiler = svelteModule;
|
|
@@ -25443,7 +24819,7 @@ ${code}`;
|
|
|
25443
24819
|
const rawSource = readFileSync27(filePath, "utf-8");
|
|
25444
24820
|
const raw = addAutoRouterSetupApp(rawSource);
|
|
25445
24821
|
if (!vueCompiler) {
|
|
25446
|
-
vueCompiler = await
|
|
24822
|
+
vueCompiler = await loadVueCompiler();
|
|
25447
24823
|
}
|
|
25448
24824
|
const fileName = basename16(filePath, ".vue");
|
|
25449
24825
|
const componentId = toKebab(fileName);
|
|
@@ -29643,5 +29019,5 @@ export {
|
|
|
29643
29019
|
build
|
|
29644
29020
|
};
|
|
29645
29021
|
|
|
29646
|
-
//# debugId=
|
|
29022
|
+
//# debugId=7FFB11B77112BEC964756E2164756E21
|
|
29647
29023
|
//# sourceMappingURL=build.js.map
|