Skip to content

Commit

Permalink
fix: cross platform glob expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Feb 1, 2024
1 parent 51dd0fd commit 828cf71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"types:cjs": "tsc --outDir dist/cjs",
"prebuild": "npm run clean && npm run types",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "esbuild src/*.ts* src/*/*.ts* src/*/*/*.ts* --outdir=dist --format=esm --target=es2020",
"build:cjs": "esbuild src/*.ts* src/*/*.ts* src/*/*/*.ts* --outdir=dist/cjs --platform=node --format=cjs --target=es2020 --define:import.meta.url=\\\"\\\"",
"build:esm": "esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=dist --format=esm --target=es2020",
"build:cjs": "esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=dist/cjs --platform=node --format=cjs --target=es2020 --define:import.meta.url=\\\"\\\"",
"postbuild:cjs": "node --eval \"fs.writeFileSync('./dist/cjs/package.json', '{\\\"type\\\": \\\"commonjs\\\"}')\"",
"prepare": "npm run build",
"cli": "node --loader tsx --no-warnings ./src/cli",
Expand Down

0 comments on commit 828cf71

Please sign in to comment.