Skip to content

Commit

Permalink
fix: build esm
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Jan 25, 2024
1 parent 21bbeb9 commit e5d613e
Show file tree
Hide file tree
Showing 6 changed files with 2,031 additions and 1,973 deletions.
10 changes: 10 additions & 0 deletions build.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import esbuild from 'esbuild'

esbuild.build({
platform: 'node',
format: 'esm',
target: 'node20',
bundle: true,
entryPoints: ['src/setup-pdm.ts', 'src/cache-save.ts'],
outdir: 'dist',
})
Loading

0 comments on commit e5d613e

Please sign in to comment.