diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..44a070c --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,13 @@ +# Generated by Wrangler on Wed Sep 18 2024 13:35:28 GMT+0800 (China Standard Time) +name = "xtermblazor" +pages_build_output_dir = "publish/wwwroot" +compatibility_date = "2024-09-09" + +[build] +command = "curl -sSL https://dot.net/v1/dotnet-install.sh > dotnet-install.sh; chmod +x dotnet-install.sh; ./dotnet-install.sh -c 8.0 -InstallDir ./dotnet8; ./dotnet8/dotnet build XtermBlazor -c Release; ./dotnet8/dotnet build XtermBlazor -c Release; ./dotnet8/dotnet workload install wasm-tools; ./dotnet8/dotnet publish XtermBlazor.Demo.Wasm -c Release -o publish;" + +[vars] +NODE_VERSION = "20" + +[env.production.vars] +NODE_VERSION = "20"