From 5f0bf7acd4790f357f7b1cdc1fabc0d3d297fe38 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sat, 14 Oct 2023 13:24:08 +0300 Subject: [PATCH] squash! --- Configuration/ESBuild.d.ts | 2 -- Configuration/ESBuild.js | 33 --------------------------------- 2 files changed, 35 deletions(-) delete mode 100644 Configuration/ESBuild.d.ts delete mode 100644 Configuration/ESBuild.js diff --git a/Configuration/ESBuild.d.ts b/Configuration/ESBuild.d.ts deleted file mode 100644 index 524f992..0000000 --- a/Configuration/ESBuild.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Type; -export default _default; diff --git a/Configuration/ESBuild.js b/Configuration/ESBuild.js deleted file mode 100644 index ce769ba..0000000 --- a/Configuration/ESBuild.js +++ /dev/null @@ -1,33 +0,0 @@ -import { copy as Copy } from "esbuild-plugin-copy"; -import { rm as Remove } from "fs/promises"; -const outDir = "Target"; -export default { - format: "esm", - minify: true, - outdir: outDir, - bundle: true, - platform: "browser", - target: ["edge104", "esnext"], - plugins: [ - { - name: "Target", - setup: (Build) => Build.onStart(async () => { - try { - await Remove(outDir, { - recursive: true, - }); - } - catch (_Error) { } - }), - }, - Copy({ - resolveFrom: "out", - assets: [ - { - from: "./Source/styles/*.css", - to: "./styles/", - }, - ], - }), - ], -};