remove redundant workflow
This commit is contained in:
parent
138181fcb3
commit
29696341ff
3 changed files with 1 additions and 17 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,2 @@
|
||||||
node_modules
|
node_modules
|
||||||
dist
|
|
||||||
*.tgz
|
*.tgz
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
|
|
||||||
export const publicPath = fileURLToPath(new URL("../dist/", import.meta.url));
|
export const publicPath = fileURLToPath(new URL("../public/", import.meta.url));
|
||||||
|
|
|
||||||
|
|
@ -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/");
|
|
||||||
Loading…
Add table
Reference in a new issue