@absolutejs/absolute 0.19.0-beta.1111 → 0.19.0-beta.1113
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 +19 -647
- package/dist/build.js.map +7 -7
- package/dist/cli/index.js +7 -1
- package/dist/index.js +19 -647
- package/dist/index.js.map +7 -7
- 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/cli/scripts/workspace.d.ts +2 -1
- 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/index.js
CHANGED
|
@@ -5629,647 +5629,6 @@ var init_lib = __esm(() => {
|
|
|
5629
5629
|
init_chunk_HTB5LLOP();
|
|
5630
5630
|
});
|
|
5631
5631
|
|
|
5632
|
-
// node_modules/@tailwindcss/oxide-linux-x64-musl/tailwindcss-oxide.linux-x64-musl.node
|
|
5633
|
-
var require_tailwindcss_oxide_linux_x64_musl = __commonJS((exports, module) => {
|
|
5634
|
-
module.exports = __require("./tailwindcss-oxide.linux-x64-musl-vr6z8t87.node");
|
|
5635
|
-
});
|
|
5636
|
-
|
|
5637
|
-
// node_modules/@tailwindcss/oxide-linux-x64-musl/package.json
|
|
5638
|
-
var require_package = __commonJS((exports, module) => {
|
|
5639
|
-
module.exports = {
|
|
5640
|
-
name: "@tailwindcss/oxide-linux-x64-musl",
|
|
5641
|
-
version: "4.3.2",
|
|
5642
|
-
repository: {
|
|
5643
|
-
type: "git",
|
|
5644
|
-
url: "git+https://github.com/tailwindlabs/tailwindcss.git",
|
|
5645
|
-
directory: "crates/node/npm/linux-x64-musl"
|
|
5646
|
-
},
|
|
5647
|
-
os: [
|
|
5648
|
-
"linux"
|
|
5649
|
-
],
|
|
5650
|
-
cpu: [
|
|
5651
|
-
"x64"
|
|
5652
|
-
],
|
|
5653
|
-
main: "tailwindcss-oxide.linux-x64-musl.node",
|
|
5654
|
-
files: [
|
|
5655
|
-
"tailwindcss-oxide.linux-x64-musl.node"
|
|
5656
|
-
],
|
|
5657
|
-
publishConfig: {
|
|
5658
|
-
provenance: true,
|
|
5659
|
-
access: "public"
|
|
5660
|
-
},
|
|
5661
|
-
license: "MIT",
|
|
5662
|
-
engines: {
|
|
5663
|
-
node: ">= 20"
|
|
5664
|
-
},
|
|
5665
|
-
libc: [
|
|
5666
|
-
"musl"
|
|
5667
|
-
]
|
|
5668
|
-
};
|
|
5669
|
-
});
|
|
5670
|
-
|
|
5671
|
-
// node_modules/@tailwindcss/oxide-linux-x64-gnu/tailwindcss-oxide.linux-x64-gnu.node
|
|
5672
|
-
var require_tailwindcss_oxide_linux_x64_gnu = __commonJS((exports, module) => {
|
|
5673
|
-
module.exports = __require("./tailwindcss-oxide.linux-x64-gnu-vcb5zrt4.node");
|
|
5674
|
-
});
|
|
5675
|
-
|
|
5676
|
-
// node_modules/@tailwindcss/oxide-linux-x64-gnu/package.json
|
|
5677
|
-
var require_package2 = __commonJS((exports, module) => {
|
|
5678
|
-
module.exports = {
|
|
5679
|
-
name: "@tailwindcss/oxide-linux-x64-gnu",
|
|
5680
|
-
version: "4.3.2",
|
|
5681
|
-
repository: {
|
|
5682
|
-
type: "git",
|
|
5683
|
-
url: "git+https://github.com/tailwindlabs/tailwindcss.git",
|
|
5684
|
-
directory: "crates/node/npm/linux-x64-gnu"
|
|
5685
|
-
},
|
|
5686
|
-
os: [
|
|
5687
|
-
"linux"
|
|
5688
|
-
],
|
|
5689
|
-
cpu: [
|
|
5690
|
-
"x64"
|
|
5691
|
-
],
|
|
5692
|
-
main: "tailwindcss-oxide.linux-x64-gnu.node",
|
|
5693
|
-
files: [
|
|
5694
|
-
"tailwindcss-oxide.linux-x64-gnu.node"
|
|
5695
|
-
],
|
|
5696
|
-
publishConfig: {
|
|
5697
|
-
provenance: true,
|
|
5698
|
-
access: "public"
|
|
5699
|
-
},
|
|
5700
|
-
license: "MIT",
|
|
5701
|
-
engines: {
|
|
5702
|
-
node: ">= 20"
|
|
5703
|
-
},
|
|
5704
|
-
libc: [
|
|
5705
|
-
"glibc"
|
|
5706
|
-
]
|
|
5707
|
-
};
|
|
5708
|
-
});
|
|
5709
|
-
|
|
5710
|
-
// node_modules/@tailwindcss/oxide/index.js
|
|
5711
|
-
var require_oxide = __commonJS((exports, module) => {
|
|
5712
|
-
var { readFileSync: readFileSync4 } = __require("fs");
|
|
5713
|
-
var nativeBinding = null;
|
|
5714
|
-
var loadErrors = [];
|
|
5715
|
-
var isMusl = () => {
|
|
5716
|
-
let musl = false;
|
|
5717
|
-
if (process.platform === "linux") {
|
|
5718
|
-
musl = isMuslFromFilesystem();
|
|
5719
|
-
if (musl === null) {
|
|
5720
|
-
musl = isMuslFromReport();
|
|
5721
|
-
}
|
|
5722
|
-
if (musl === null) {
|
|
5723
|
-
musl = isMuslFromChildProcess();
|
|
5724
|
-
}
|
|
5725
|
-
}
|
|
5726
|
-
return musl;
|
|
5727
|
-
};
|
|
5728
|
-
var isFileMusl = (f2) => f2.includes("libc.musl-") || f2.includes("ld-musl-");
|
|
5729
|
-
var isMuslFromFilesystem = () => {
|
|
5730
|
-
try {
|
|
5731
|
-
return readFileSync4("/usr/bin/ldd", "utf-8").includes("musl");
|
|
5732
|
-
} catch {
|
|
5733
|
-
return null;
|
|
5734
|
-
}
|
|
5735
|
-
};
|
|
5736
|
-
var isMuslFromReport = () => {
|
|
5737
|
-
let report = null;
|
|
5738
|
-
if (typeof process.report?.getReport === "function") {
|
|
5739
|
-
process.report.excludeNetwork = true;
|
|
5740
|
-
report = process.report.getReport();
|
|
5741
|
-
}
|
|
5742
|
-
if (!report) {
|
|
5743
|
-
return null;
|
|
5744
|
-
}
|
|
5745
|
-
if (report.header && report.header.glibcVersionRuntime) {
|
|
5746
|
-
return false;
|
|
5747
|
-
}
|
|
5748
|
-
if (Array.isArray(report.sharedObjects)) {
|
|
5749
|
-
if (report.sharedObjects.some(isFileMusl)) {
|
|
5750
|
-
return true;
|
|
5751
|
-
}
|
|
5752
|
-
}
|
|
5753
|
-
return false;
|
|
5754
|
-
};
|
|
5755
|
-
var isMuslFromChildProcess = () => {
|
|
5756
|
-
try {
|
|
5757
|
-
return __require("child_process").execSync("ldd --version", { encoding: "utf8" }).includes("musl");
|
|
5758
|
-
} catch (e) {
|
|
5759
|
-
return false;
|
|
5760
|
-
}
|
|
5761
|
-
};
|
|
5762
|
-
function requireNative() {
|
|
5763
|
-
if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {
|
|
5764
|
-
try {
|
|
5765
|
-
return __require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
|
|
5766
|
-
} catch (err) {
|
|
5767
|
-
loadErrors.push(err);
|
|
5768
|
-
}
|
|
5769
|
-
} else if (process.platform === "android") {
|
|
5770
|
-
if (process.arch === "arm64") {
|
|
5771
|
-
try {
|
|
5772
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.android-arm64.node");})();
|
|
5773
|
-
} catch (e) {
|
|
5774
|
-
loadErrors.push(e);
|
|
5775
|
-
}
|
|
5776
|
-
try {
|
|
5777
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm64");})();
|
|
5778
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm64/package.json");})().version;
|
|
5779
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5780
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5781
|
-
}
|
|
5782
|
-
return binding;
|
|
5783
|
-
} catch (e) {
|
|
5784
|
-
loadErrors.push(e);
|
|
5785
|
-
}
|
|
5786
|
-
} else if (process.arch === "arm") {
|
|
5787
|
-
try {
|
|
5788
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.android-arm-eabi.node");})();
|
|
5789
|
-
} catch (e) {
|
|
5790
|
-
loadErrors.push(e);
|
|
5791
|
-
}
|
|
5792
|
-
try {
|
|
5793
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm-eabi");})();
|
|
5794
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm-eabi/package.json");})().version;
|
|
5795
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5796
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5797
|
-
}
|
|
5798
|
-
return binding;
|
|
5799
|
-
} catch (e) {
|
|
5800
|
-
loadErrors.push(e);
|
|
5801
|
-
}
|
|
5802
|
-
} else {
|
|
5803
|
-
loadErrors.push(new Error(`Unsupported architecture on Android ${process.arch}`));
|
|
5804
|
-
}
|
|
5805
|
-
} else if (process.platform === "win32") {
|
|
5806
|
-
if (process.arch === "x64") {
|
|
5807
|
-
if (process.config?.variables?.shlib_suffix === "dll.a" || process.config?.variables?.node_target_type === "shared_library") {
|
|
5808
|
-
try {
|
|
5809
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-x64-gnu.node");})();
|
|
5810
|
-
} catch (e) {
|
|
5811
|
-
loadErrors.push(e);
|
|
5812
|
-
}
|
|
5813
|
-
try {
|
|
5814
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-gnu");})();
|
|
5815
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-gnu/package.json");})().version;
|
|
5816
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5817
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5818
|
-
}
|
|
5819
|
-
return binding;
|
|
5820
|
-
} catch (e) {
|
|
5821
|
-
loadErrors.push(e);
|
|
5822
|
-
}
|
|
5823
|
-
} else {
|
|
5824
|
-
try {
|
|
5825
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-x64-msvc.node");})();
|
|
5826
|
-
} catch (e) {
|
|
5827
|
-
loadErrors.push(e);
|
|
5828
|
-
}
|
|
5829
|
-
try {
|
|
5830
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-msvc");})();
|
|
5831
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-msvc/package.json");})().version;
|
|
5832
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5833
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5834
|
-
}
|
|
5835
|
-
return binding;
|
|
5836
|
-
} catch (e) {
|
|
5837
|
-
loadErrors.push(e);
|
|
5838
|
-
}
|
|
5839
|
-
}
|
|
5840
|
-
} else if (process.arch === "ia32") {
|
|
5841
|
-
try {
|
|
5842
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-ia32-msvc.node");})();
|
|
5843
|
-
} catch (e) {
|
|
5844
|
-
loadErrors.push(e);
|
|
5845
|
-
}
|
|
5846
|
-
try {
|
|
5847
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-ia32-msvc");})();
|
|
5848
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-ia32-msvc/package.json");})().version;
|
|
5849
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5850
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5851
|
-
}
|
|
5852
|
-
return binding;
|
|
5853
|
-
} catch (e) {
|
|
5854
|
-
loadErrors.push(e);
|
|
5855
|
-
}
|
|
5856
|
-
} else if (process.arch === "arm64") {
|
|
5857
|
-
try {
|
|
5858
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-arm64-msvc.node");})();
|
|
5859
|
-
} catch (e) {
|
|
5860
|
-
loadErrors.push(e);
|
|
5861
|
-
}
|
|
5862
|
-
try {
|
|
5863
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-arm64-msvc");})();
|
|
5864
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-arm64-msvc/package.json");})().version;
|
|
5865
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5866
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5867
|
-
}
|
|
5868
|
-
return binding;
|
|
5869
|
-
} catch (e) {
|
|
5870
|
-
loadErrors.push(e);
|
|
5871
|
-
}
|
|
5872
|
-
} else {
|
|
5873
|
-
loadErrors.push(new Error(`Unsupported architecture on Windows: ${process.arch}`));
|
|
5874
|
-
}
|
|
5875
|
-
} else if (process.platform === "darwin") {
|
|
5876
|
-
try {
|
|
5877
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-universal.node");})();
|
|
5878
|
-
} catch (e) {
|
|
5879
|
-
loadErrors.push(e);
|
|
5880
|
-
}
|
|
5881
|
-
try {
|
|
5882
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-universal");})();
|
|
5883
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-universal/package.json");})().version;
|
|
5884
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5885
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5886
|
-
}
|
|
5887
|
-
return binding;
|
|
5888
|
-
} catch (e) {
|
|
5889
|
-
loadErrors.push(e);
|
|
5890
|
-
}
|
|
5891
|
-
if (process.arch === "x64") {
|
|
5892
|
-
try {
|
|
5893
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-x64.node");})();
|
|
5894
|
-
} catch (e) {
|
|
5895
|
-
loadErrors.push(e);
|
|
5896
|
-
}
|
|
5897
|
-
try {
|
|
5898
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-x64");})();
|
|
5899
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-x64/package.json");})().version;
|
|
5900
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5901
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5902
|
-
}
|
|
5903
|
-
return binding;
|
|
5904
|
-
} catch (e) {
|
|
5905
|
-
loadErrors.push(e);
|
|
5906
|
-
}
|
|
5907
|
-
} else if (process.arch === "arm64") {
|
|
5908
|
-
try {
|
|
5909
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-arm64.node");})();
|
|
5910
|
-
} catch (e) {
|
|
5911
|
-
loadErrors.push(e);
|
|
5912
|
-
}
|
|
5913
|
-
try {
|
|
5914
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-arm64");})();
|
|
5915
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-arm64/package.json");})().version;
|
|
5916
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5917
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5918
|
-
}
|
|
5919
|
-
return binding;
|
|
5920
|
-
} catch (e) {
|
|
5921
|
-
loadErrors.push(e);
|
|
5922
|
-
}
|
|
5923
|
-
} else {
|
|
5924
|
-
loadErrors.push(new Error(`Unsupported architecture on macOS: ${process.arch}`));
|
|
5925
|
-
}
|
|
5926
|
-
} else if (process.platform === "freebsd") {
|
|
5927
|
-
if (process.arch === "x64") {
|
|
5928
|
-
try {
|
|
5929
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.freebsd-x64.node");})();
|
|
5930
|
-
} catch (e) {
|
|
5931
|
-
loadErrors.push(e);
|
|
5932
|
-
}
|
|
5933
|
-
try {
|
|
5934
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-x64");})();
|
|
5935
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-x64/package.json");})().version;
|
|
5936
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5937
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5938
|
-
}
|
|
5939
|
-
return binding;
|
|
5940
|
-
} catch (e) {
|
|
5941
|
-
loadErrors.push(e);
|
|
5942
|
-
}
|
|
5943
|
-
} else if (process.arch === "arm64") {
|
|
5944
|
-
try {
|
|
5945
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.freebsd-arm64.node");})();
|
|
5946
|
-
} catch (e) {
|
|
5947
|
-
loadErrors.push(e);
|
|
5948
|
-
}
|
|
5949
|
-
try {
|
|
5950
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-arm64");})();
|
|
5951
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-arm64/package.json");})().version;
|
|
5952
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5953
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5954
|
-
}
|
|
5955
|
-
return binding;
|
|
5956
|
-
} catch (e) {
|
|
5957
|
-
loadErrors.push(e);
|
|
5958
|
-
}
|
|
5959
|
-
} else {
|
|
5960
|
-
loadErrors.push(new Error(`Unsupported architecture on FreeBSD: ${process.arch}`));
|
|
5961
|
-
}
|
|
5962
|
-
} else if (process.platform === "linux") {
|
|
5963
|
-
if (process.arch === "x64") {
|
|
5964
|
-
if (isMusl()) {
|
|
5965
|
-
try {
|
|
5966
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-x64-musl.node");})();
|
|
5967
|
-
} catch (e) {
|
|
5968
|
-
loadErrors.push(e);
|
|
5969
|
-
}
|
|
5970
|
-
try {
|
|
5971
|
-
const binding = require_tailwindcss_oxide_linux_x64_musl();
|
|
5972
|
-
const bindingPackageVersion = require_package().version;
|
|
5973
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5974
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5975
|
-
}
|
|
5976
|
-
return binding;
|
|
5977
|
-
} catch (e) {
|
|
5978
|
-
loadErrors.push(e);
|
|
5979
|
-
}
|
|
5980
|
-
} else {
|
|
5981
|
-
try {
|
|
5982
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-x64-gnu.node");})();
|
|
5983
|
-
} catch (e) {
|
|
5984
|
-
loadErrors.push(e);
|
|
5985
|
-
}
|
|
5986
|
-
try {
|
|
5987
|
-
const binding = require_tailwindcss_oxide_linux_x64_gnu();
|
|
5988
|
-
const bindingPackageVersion = require_package2().version;
|
|
5989
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
5990
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
5991
|
-
}
|
|
5992
|
-
return binding;
|
|
5993
|
-
} catch (e) {
|
|
5994
|
-
loadErrors.push(e);
|
|
5995
|
-
}
|
|
5996
|
-
}
|
|
5997
|
-
} else if (process.arch === "arm64") {
|
|
5998
|
-
if (isMusl()) {
|
|
5999
|
-
try {
|
|
6000
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm64-musl.node");})();
|
|
6001
|
-
} catch (e) {
|
|
6002
|
-
loadErrors.push(e);
|
|
6003
|
-
}
|
|
6004
|
-
try {
|
|
6005
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-musl");})();
|
|
6006
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-musl/package.json");})().version;
|
|
6007
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6008
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6009
|
-
}
|
|
6010
|
-
return binding;
|
|
6011
|
-
} catch (e) {
|
|
6012
|
-
loadErrors.push(e);
|
|
6013
|
-
}
|
|
6014
|
-
} else {
|
|
6015
|
-
try {
|
|
6016
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm64-gnu.node");})();
|
|
6017
|
-
} catch (e) {
|
|
6018
|
-
loadErrors.push(e);
|
|
6019
|
-
}
|
|
6020
|
-
try {
|
|
6021
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-gnu");})();
|
|
6022
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-gnu/package.json");})().version;
|
|
6023
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6024
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6025
|
-
}
|
|
6026
|
-
return binding;
|
|
6027
|
-
} catch (e) {
|
|
6028
|
-
loadErrors.push(e);
|
|
6029
|
-
}
|
|
6030
|
-
}
|
|
6031
|
-
} else if (process.arch === "arm") {
|
|
6032
|
-
if (isMusl()) {
|
|
6033
|
-
try {
|
|
6034
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm-musleabihf.node");})();
|
|
6035
|
-
} catch (e) {
|
|
6036
|
-
loadErrors.push(e);
|
|
6037
|
-
}
|
|
6038
|
-
try {
|
|
6039
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-musleabihf");})();
|
|
6040
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-musleabihf/package.json");})().version;
|
|
6041
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6042
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6043
|
-
}
|
|
6044
|
-
return binding;
|
|
6045
|
-
} catch (e) {
|
|
6046
|
-
loadErrors.push(e);
|
|
6047
|
-
}
|
|
6048
|
-
} else {
|
|
6049
|
-
try {
|
|
6050
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm-gnueabihf.node");})();
|
|
6051
|
-
} catch (e) {
|
|
6052
|
-
loadErrors.push(e);
|
|
6053
|
-
}
|
|
6054
|
-
try {
|
|
6055
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-gnueabihf");})();
|
|
6056
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-gnueabihf/package.json");})().version;
|
|
6057
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6058
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6059
|
-
}
|
|
6060
|
-
return binding;
|
|
6061
|
-
} catch (e) {
|
|
6062
|
-
loadErrors.push(e);
|
|
6063
|
-
}
|
|
6064
|
-
}
|
|
6065
|
-
} else if (process.arch === "loong64") {
|
|
6066
|
-
if (isMusl()) {
|
|
6067
|
-
try {
|
|
6068
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-loong64-musl.node");})();
|
|
6069
|
-
} catch (e) {
|
|
6070
|
-
loadErrors.push(e);
|
|
6071
|
-
}
|
|
6072
|
-
try {
|
|
6073
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-musl");})();
|
|
6074
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-musl/package.json");})().version;
|
|
6075
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6076
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6077
|
-
}
|
|
6078
|
-
return binding;
|
|
6079
|
-
} catch (e) {
|
|
6080
|
-
loadErrors.push(e);
|
|
6081
|
-
}
|
|
6082
|
-
} else {
|
|
6083
|
-
try {
|
|
6084
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-loong64-gnu.node");})();
|
|
6085
|
-
} catch (e) {
|
|
6086
|
-
loadErrors.push(e);
|
|
6087
|
-
}
|
|
6088
|
-
try {
|
|
6089
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-gnu");})();
|
|
6090
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-gnu/package.json");})().version;
|
|
6091
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6092
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6093
|
-
}
|
|
6094
|
-
return binding;
|
|
6095
|
-
} catch (e) {
|
|
6096
|
-
loadErrors.push(e);
|
|
6097
|
-
}
|
|
6098
|
-
}
|
|
6099
|
-
} else if (process.arch === "riscv64") {
|
|
6100
|
-
if (isMusl()) {
|
|
6101
|
-
try {
|
|
6102
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-riscv64-musl.node");})();
|
|
6103
|
-
} catch (e) {
|
|
6104
|
-
loadErrors.push(e);
|
|
6105
|
-
}
|
|
6106
|
-
try {
|
|
6107
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-musl");})();
|
|
6108
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-musl/package.json");})().version;
|
|
6109
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6110
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6111
|
-
}
|
|
6112
|
-
return binding;
|
|
6113
|
-
} catch (e) {
|
|
6114
|
-
loadErrors.push(e);
|
|
6115
|
-
}
|
|
6116
|
-
} else {
|
|
6117
|
-
try {
|
|
6118
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-riscv64-gnu.node");})();
|
|
6119
|
-
} catch (e) {
|
|
6120
|
-
loadErrors.push(e);
|
|
6121
|
-
}
|
|
6122
|
-
try {
|
|
6123
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-gnu");})();
|
|
6124
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-gnu/package.json");})().version;
|
|
6125
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6126
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6127
|
-
}
|
|
6128
|
-
return binding;
|
|
6129
|
-
} catch (e) {
|
|
6130
|
-
loadErrors.push(e);
|
|
6131
|
-
}
|
|
6132
|
-
}
|
|
6133
|
-
} else if (process.arch === "ppc64") {
|
|
6134
|
-
try {
|
|
6135
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-ppc64-gnu.node");})();
|
|
6136
|
-
} catch (e) {
|
|
6137
|
-
loadErrors.push(e);
|
|
6138
|
-
}
|
|
6139
|
-
try {
|
|
6140
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-ppc64-gnu");})();
|
|
6141
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-ppc64-gnu/package.json");})().version;
|
|
6142
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6143
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6144
|
-
}
|
|
6145
|
-
return binding;
|
|
6146
|
-
} catch (e) {
|
|
6147
|
-
loadErrors.push(e);
|
|
6148
|
-
}
|
|
6149
|
-
} else if (process.arch === "s390x") {
|
|
6150
|
-
try {
|
|
6151
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-s390x-gnu.node");})();
|
|
6152
|
-
} catch (e) {
|
|
6153
|
-
loadErrors.push(e);
|
|
6154
|
-
}
|
|
6155
|
-
try {
|
|
6156
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-s390x-gnu");})();
|
|
6157
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-s390x-gnu/package.json");})().version;
|
|
6158
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6159
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6160
|
-
}
|
|
6161
|
-
return binding;
|
|
6162
|
-
} catch (e) {
|
|
6163
|
-
loadErrors.push(e);
|
|
6164
|
-
}
|
|
6165
|
-
} else {
|
|
6166
|
-
loadErrors.push(new Error(`Unsupported architecture on Linux: ${process.arch}`));
|
|
6167
|
-
}
|
|
6168
|
-
} else if (process.platform === "openharmony") {
|
|
6169
|
-
if (process.arch === "arm64") {
|
|
6170
|
-
try {
|
|
6171
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-arm64.node");})();
|
|
6172
|
-
} catch (e) {
|
|
6173
|
-
loadErrors.push(e);
|
|
6174
|
-
}
|
|
6175
|
-
try {
|
|
6176
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm64");})();
|
|
6177
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm64/package.json");})().version;
|
|
6178
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6179
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6180
|
-
}
|
|
6181
|
-
return binding;
|
|
6182
|
-
} catch (e) {
|
|
6183
|
-
loadErrors.push(e);
|
|
6184
|
-
}
|
|
6185
|
-
} else if (process.arch === "x64") {
|
|
6186
|
-
try {
|
|
6187
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-x64.node");})();
|
|
6188
|
-
} catch (e) {
|
|
6189
|
-
loadErrors.push(e);
|
|
6190
|
-
}
|
|
6191
|
-
try {
|
|
6192
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-x64");})();
|
|
6193
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-x64/package.json");})().version;
|
|
6194
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6195
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6196
|
-
}
|
|
6197
|
-
return binding;
|
|
6198
|
-
} catch (e) {
|
|
6199
|
-
loadErrors.push(e);
|
|
6200
|
-
}
|
|
6201
|
-
} else if (process.arch === "arm") {
|
|
6202
|
-
try {
|
|
6203
|
-
return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-arm.node");})();
|
|
6204
|
-
} catch (e) {
|
|
6205
|
-
loadErrors.push(e);
|
|
6206
|
-
}
|
|
6207
|
-
try {
|
|
6208
|
-
const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm");})();
|
|
6209
|
-
const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm/package.json");})().version;
|
|
6210
|
-
if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
6211
|
-
throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
6212
|
-
}
|
|
6213
|
-
return binding;
|
|
6214
|
-
} catch (e) {
|
|
6215
|
-
loadErrors.push(e);
|
|
6216
|
-
}
|
|
6217
|
-
} else {
|
|
6218
|
-
loadErrors.push(new Error(`Unsupported architecture on OpenHarmony: ${process.arch}`));
|
|
6219
|
-
}
|
|
6220
|
-
} else {
|
|
6221
|
-
loadErrors.push(new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`));
|
|
6222
|
-
}
|
|
6223
|
-
}
|
|
6224
|
-
nativeBinding = requireNative();
|
|
6225
|
-
var forceWasi = process.env.NAPI_RS_FORCE_WASI === "true" || process.env.NAPI_RS_FORCE_WASI === "error";
|
|
6226
|
-
if (!nativeBinding || forceWasi) {
|
|
6227
|
-
let wasiBinding = null;
|
|
6228
|
-
let wasiBindingError = null;
|
|
6229
|
-
try {
|
|
6230
|
-
wasiBinding = (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.wasi.cjs");})();
|
|
6231
|
-
nativeBinding = wasiBinding;
|
|
6232
|
-
} catch (err) {
|
|
6233
|
-
if (forceWasi) {
|
|
6234
|
-
wasiBindingError = err;
|
|
6235
|
-
}
|
|
6236
|
-
}
|
|
6237
|
-
if (!nativeBinding || forceWasi) {
|
|
6238
|
-
try {
|
|
6239
|
-
wasiBinding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-wasm32-wasi");})();
|
|
6240
|
-
nativeBinding = wasiBinding;
|
|
6241
|
-
} catch (err) {
|
|
6242
|
-
if (forceWasi) {
|
|
6243
|
-
if (!wasiBindingError) {
|
|
6244
|
-
wasiBindingError = err;
|
|
6245
|
-
} else {
|
|
6246
|
-
wasiBindingError.cause = err;
|
|
6247
|
-
}
|
|
6248
|
-
loadErrors.push(err);
|
|
6249
|
-
}
|
|
6250
|
-
}
|
|
6251
|
-
}
|
|
6252
|
-
if (process.env.NAPI_RS_FORCE_WASI === "error" && !wasiBinding) {
|
|
6253
|
-
const error = new Error("WASI binding not found and NAPI_RS_FORCE_WASI is set to error");
|
|
6254
|
-
error.cause = wasiBindingError;
|
|
6255
|
-
throw error;
|
|
6256
|
-
}
|
|
6257
|
-
}
|
|
6258
|
-
if (!nativeBinding) {
|
|
6259
|
-
if (loadErrors.length > 0) {
|
|
6260
|
-
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.", {
|
|
6261
|
-
cause: loadErrors.reduce((err, cur) => {
|
|
6262
|
-
cur.cause = err;
|
|
6263
|
-
return cur;
|
|
6264
|
-
})
|
|
6265
|
-
});
|
|
6266
|
-
}
|
|
6267
|
-
throw new Error(`Failed to load native binding`);
|
|
6268
|
-
}
|
|
6269
|
-
module.exports = nativeBinding;
|
|
6270
|
-
module.exports.Scanner = nativeBinding.Scanner;
|
|
6271
|
-
});
|
|
6272
|
-
|
|
6273
5632
|
// src/build/tailwindCompiler.ts
|
|
6274
5633
|
var exports_tailwindCompiler = {};
|
|
6275
5634
|
__export(exports_tailwindCompiler, {
|
|
@@ -6295,7 +5654,7 @@ var compilerCache, cachedTailwindCompile = null, loadTailwindCompile = async ()
|
|
|
6295
5654
|
if (cachedScannerCtor)
|
|
6296
5655
|
return cachedScannerCtor;
|
|
6297
5656
|
try {
|
|
6298
|
-
const mod = await
|
|
5657
|
+
const mod = await import("@tailwindcss/oxide");
|
|
6299
5658
|
cachedScannerCtor = mod.Scanner;
|
|
6300
5659
|
return mod.Scanner;
|
|
6301
5660
|
} catch {
|
|
@@ -8748,6 +8107,19 @@ var init_svelteServerModule = __esm(() => {
|
|
|
8748
8107
|
});
|
|
8749
8108
|
});
|
|
8750
8109
|
|
|
8110
|
+
// src/utils/vueCompiler.ts
|
|
8111
|
+
var createVueCompiler = async () => {
|
|
8112
|
+
const [compiler, typescript] = await Promise.all([
|
|
8113
|
+
import("@vue/compiler-sfc"),
|
|
8114
|
+
import("typescript")
|
|
8115
|
+
]);
|
|
8116
|
+
compiler.registerTS?.(() => typescript);
|
|
8117
|
+
return compiler;
|
|
8118
|
+
}, compilerPromise, loadVueCompiler = () => {
|
|
8119
|
+
compilerPromise ??= createVueCompiler();
|
|
8120
|
+
return compilerPromise;
|
|
8121
|
+
};
|
|
8122
|
+
|
|
8751
8123
|
// src/core/vueServerModule.ts
|
|
8752
8124
|
import { existsSync as existsSync6, readFileSync as readFileSync6, realpathSync } from "fs";
|
|
8753
8125
|
import { mkdir as mkdir4 } from "fs/promises";
|
|
@@ -8789,7 +8161,7 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
|
|
|
8789
8161
|
const cachedModulePath = compiledModuleCache3.get(sourcePath);
|
|
8790
8162
|
if (cachedModulePath)
|
|
8791
8163
|
return cachedModulePath;
|
|
8792
|
-
const compiler = await
|
|
8164
|
+
const compiler = await loadVueCompiler();
|
|
8793
8165
|
const source = await Bun.file(sourcePath).text();
|
|
8794
8166
|
const { descriptor } = compiler.parse(source, { filename: sourcePath });
|
|
8795
8167
|
const componentId = Bun.hash(sourcePath).toString(BASE_36_RADIX).slice(0, ISLAND_COMPONENT_ID_LENGTH);
|
|
@@ -25227,7 +24599,7 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
25227
24599
|
persistentBuildCache.set(sourceFilePath, result);
|
|
25228
24600
|
return result;
|
|
25229
24601
|
}, compileVue = async (entryPoints, vueRootDir, isDev2 = false, stylePreprocessors, ssrOnlyEntries) => {
|
|
25230
|
-
const compiler = await
|
|
24602
|
+
const compiler = await loadVueCompiler();
|
|
25231
24603
|
const generatedDir = getFrameworkGeneratedDir("vue");
|
|
25232
24604
|
const clientOutputDir = join33(generatedDir, "client");
|
|
25233
24605
|
const indexOutputDir = join33(generatedDir, "indexes");
|
|
@@ -35212,7 +34584,7 @@ ${code}`;
|
|
|
35212
34584
|
}, warmCompilers = async (frameworks2) => {
|
|
35213
34585
|
const [svelteModule, vueModule] = await Promise.all([
|
|
35214
34586
|
frameworks2.svelte ? import("svelte/compiler") : undefined,
|
|
35215
|
-
frameworks2.vue ?
|
|
34587
|
+
frameworks2.vue ? loadVueCompiler() : undefined
|
|
35216
34588
|
]);
|
|
35217
34589
|
if (svelteModule) {
|
|
35218
34590
|
svelteCompiler = svelteModule;
|
|
@@ -35338,7 +34710,7 @@ ${code}`;
|
|
|
35338
34710
|
const rawSource = readFileSync30(filePath, "utf-8");
|
|
35339
34711
|
const raw = addAutoRouterSetupApp(rawSource);
|
|
35340
34712
|
if (!vueCompiler) {
|
|
35341
|
-
vueCompiler = await
|
|
34713
|
+
vueCompiler = await loadVueCompiler();
|
|
35342
34714
|
}
|
|
35343
34715
|
const fileName = basename16(filePath, ".vue");
|
|
35344
34716
|
const componentId = toKebab(fileName);
|
|
@@ -48432,5 +47804,5 @@ export {
|
|
|
48432
47804
|
ANGULAR_INIT_TIMEOUT_MS
|
|
48433
47805
|
};
|
|
48434
47806
|
|
|
48435
|
-
//# debugId=
|
|
47807
|
+
//# debugId=DD309525FF404DBE64756E2164756E21
|
|
48436
47808
|
//# sourceMappingURL=index.js.map
|