-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## 0.0.2 | ||
|
||
- Bug fix | ||
|
||
## 0.0.1 | ||
|
||
- Initial version |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
declare const _default: { | ||
format: "esm"; | ||
minify: false; | ||
outdir: string; | ||
platform: "node"; | ||
target: string; | ||
write: true; | ||
plugins: import("esbuild").Plugin[]; | ||
format: "esm"; | ||
minify: false; | ||
outdir: string; | ||
platform: "node"; | ||
target: string; | ||
write: true; | ||
plugins: import("esbuild").Plugin[]; | ||
}; | ||
export default _default; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,32 @@ | ||
export default { | ||
format: "esm", | ||
minify: false, | ||
outdir: "Target", | ||
platform: "node", | ||
target: "esnext", | ||
write: true, | ||
plugins: [ | ||
{ | ||
name: "Target", | ||
setup({ onStart, initialOptions: { outdir } }) { | ||
onStart(async () => { | ||
try { | ||
await ( | ||
await import("fs/promises") | ||
).rm(outdir, { | ||
recursive: true, | ||
}); | ||
} catch (_Error) {} | ||
}); | ||
}, | ||
}, | ||
(await import("esbuild-plugin-copy")).copy({ | ||
resolveFrom: "out", | ||
assets: [ | ||
{ | ||
from: "./Source/Workflow/*.yml", | ||
to: "./Workflow/", | ||
}, | ||
], | ||
}), | ||
], | ||
format: "esm", | ||
minify: false, | ||
outdir: "Target", | ||
platform: "node", | ||
target: "esnext", | ||
write: true, | ||
plugins: [ | ||
{ | ||
name: "Target", | ||
setup({ onStart, initialOptions: { outdir } }) { | ||
onStart(async () => { | ||
try { | ||
await (await import("fs/promises")).rm(outdir, { | ||
recursive: true, | ||
}); | ||
} | ||
catch (_Error) { } | ||
}); | ||
}, | ||
}, | ||
(await import("esbuild-plugin-copy")).copy({ | ||
resolveFrom: "out", | ||
assets: [ | ||
{ | ||
from: "./Source/Workflow/*.yml", | ||
to: "./Workflow/", | ||
}, | ||
], | ||
}), | ||
], | ||
}; |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.