From 29696341ffd6ef16dce8347c043109743b98b01c Mon Sep 17 00:00:00 2001 From: David Reed Date: Fri, 30 Sep 2022 18:18:09 -0400 Subject: [PATCH] remove redundant workflow --- .gitignore | 1 - lib/index.js | 2 +- scripts/build.js | 15 --------------- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 scripts/build.js diff --git a/.gitignore b/.gitignore index 69694e4..9e406a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ node_modules -dist *.tgz diff --git a/lib/index.js b/lib/index.js index f48c474..572a136 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,3 +1,3 @@ import { fileURLToPath } from "url"; -export const publicPath = fileURLToPath(new URL("../dist/", import.meta.url)); +export const publicPath = fileURLToPath(new URL("../public/", import.meta.url)); diff --git a/scripts/build.js b/scripts/build.js deleted file mode 100644 index fa67635..0000000 --- a/scripts/build.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copies public & ultraviolet into the dist directory. - */ - -import fs from "fs-extra"; -import { uvPath } from "ultraviolet"; - -try { - await fs.mkdir("dist"); -} catch (err) { - if (err?.code !== "EEXIST") throw err; -} - -await fs.copy(uvPath, "dist/uv/"); -await fs.copy("public", "dist/");