diff --git a/Configuration/ESBuild.js b/Configuration/ESBuild.js index ce769ba..f00e620 100644 --- a/Configuration/ESBuild.js +++ b/Configuration/ESBuild.js @@ -2,32 +2,32 @@ 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/", - }, - ], - }), - ], + 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/", + }, + ], + }), + ], }; diff --git a/package.json b/package.json index bcf8eb9..aecb921 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@types/node": "20.8.2", "esbuild-plugin-copy": "2.1.1", "typescript-esbuild": "0.2.14", - "vite": "4.4.10", + "vite": "4.4.11", "vite-plugin-solid": "2.7.0" }, "publishConfig": {