From 039b10ae6760e382dca2baf008a9b3199ced9549 Mon Sep 17 00:00:00 2001 From: syy11cn Date: Sat, 2 Apr 2022 19:24:11 +0800 Subject: [PATCH] chore: add netilify config --- netlify.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..bd06a07 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,12 @@ +[build.environment] + NPM_FLAGS = "--version" + NODE_VERSION = "16" + +[build] + publish = "dist" + command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build" + +[[redirects]] + from = "/*" + to = "/index.html" + status = 200