diff --git a/CHANGELOG.md b/CHANGELOG.md index afeb948..a9449b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## 0.1.6 +### Changed + +- Simplified build process to improve performance. +- Updated dependencies. + ## 0.1.5 ### Changed diff --git a/Target/Function/Build.js b/Target/Function/Build.js index d286348..0209b47 100644 --- a/Target/Function/Build.js +++ b/Target/Function/Build.js @@ -1 +1 @@ -var p=async(...[s,e])=>{for(const a of s)for(const l of await(await import("fast-glob")).default(a.replaceAll("'","").replaceAll('"',""),{ignore:e?.Exclude??[]}))o.push(l);o.reverse();let t=i((await import("../Variable/ESBuild.js")).default,{entryPoints:o});console.log(t),t=i(e?.ESBuild?i(t,await(await import("./File.js")).default(e.ESBuild)):t,{tsconfig:e?.TypeScript??"tsconfig.json"}),t.plugins?.push({name:"TypeScript",setup({onEnd:a}){a(async()=>{await r(`tsc -p ${t.tsconfig}`),await r(`tsc-alias -f -p ${t.tsconfig}`)})}}),e?.Watch?await(await(await import("esbuild")).context(t)).watch():console.log(await(await import("esbuild")).analyzeMetafile((await(await import("esbuild")).build(t))?.metafile??"",{verbose:!0}))};const{default:r}=await import("../Function/Exec.js"),{default:i}=await import("../Function/Merge.js"),o=[],{extname:c,basename:f,relative:m,dirname:n,normalize:u,sep:w}=await import("path"),d=(await import("url")).fileURLToPath(n(import.meta.url));export{d as Current,r as Exec,i as Merge,o as Pipe,f as basename,p as default,n as dirname,c as extname,u as normalize,m as relative,w as sep}; +var p=async(...[s,a])=>{for(const e of s)for(const l of await(await import("fast-glob")).default(e.replaceAll("'","").replaceAll('"',""),{ignore:a?.Exclude??[]}))r.push(l);r.reverse();let t=i((await import("../Variable/ESBuild.js")).default,{entryPoints:r});t=i(a?.ESBuild?i(t,await(await import("./File.js")).default(a.ESBuild)):t,{tsconfig:a?.TypeScript??"tsconfig.json"}),t.plugins?.push({name:"TypeScript",setup({onEnd:e}){e(async()=>{await o(`tsc -p ${t.tsconfig}`),await o(`tsc-alias -f -p ${t.tsconfig}`)})}}),a?.Watch?await(await(await import("esbuild")).context(t)).watch():console.log(await(await import("esbuild")).analyzeMetafile((await(await import("esbuild")).build(t))?.metafile??"",{verbose:!0}))};const{default:o}=await import("../Function/Exec.js"),{default:i}=await import("../Function/Merge.js"),r=[],{extname:c,basename:f,relative:m,dirname:n,normalize:u,sep:w}=await import("path"),d=(await import("url")).fileURLToPath(n(import.meta.url));export{d as Current,o as Exec,i as Merge,r as Pipe,f as basename,p as default,n as dirname,c as extname,u as normalize,m as relative,w as sep}; diff --git a/package.json b/package.json index cf5a0cc..41c6a51 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "esbuild": "0.23.1", "fast-glob": "3.3.2", "tsc-alias": "1.8.10", - "typescript": "5.5.4" + "typescript": "5.6.2" }, "devDependencies": { "ts-node": "10.9.2"