Skip to content

Commit

Permalink
chore: update build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdevv committed Dec 24, 2023
1 parent d01fadd commit 101c971
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "esnext",
"target": "es2022",
"module": "esnext",
"lib": ["ESNext"],

Expand Down
4 changes: 2 additions & 2 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig([
sourcemap: false,
clean: true,
dts: true,
target: 'esnext',
target: 'es2022',
format: ['esm', 'cjs'],
entryPoints: ['src/exports/package.ts'],
shims: true,
Expand All @@ -17,7 +17,7 @@ export default defineConfig([
sourcemap: false,
clean: true,
dts: false,
target: 'esnext',
target: 'es2022',
format: ['esm'],
entryPoints: ['src/exports/cli.ts'],
define: {
Expand Down

0 comments on commit 101c971

Please sign in to comment.