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/");